Possible Duplicate:
Best way to throw exceptions in JNI code?
I see that the System#arraycopy could throw ArrayStoreException
or IndexOutOfBoundsException
etc.
But I also saw that System#arraycopy is a using a native
method, which means C
code, right?
So how is it possible that C
code could throw any of these java
exceptions?