Common IOException to be defined in jvm and native code.
Common IOException mapped to a custom exception class in native code.