com.jniwrapper
Class FunctionExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jniwrapper.JNIWrapperException
                  extended by com.jniwrapper.FunctionExecutionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LibraryNotFoundException, MemoryAccessViolationException, NoSuchFunctionException

public class FunctionExecutionException
extends JNIWrapperException

This exception is thrown if an error occurs during a native function call.

For example, this exception is thrown when parameter sizes do not correspond to what the called function expects.

See Also:
Serialized Form

Constructor Summary
FunctionExecutionException()
           
FunctionExecutionException(java.lang.String reason)
           
 
Method Summary
static FunctionExecutionException createFunctionExecutionException(java.lang.Throwable e)
           
 
Methods inherited from class com.jniwrapper.JNIWrapperException
createException, isThrowableConstructorAvailable, throwException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionExecutionException

public FunctionExecutionException()

FunctionExecutionException

public FunctionExecutionException(java.lang.String reason)
Method Detail

createFunctionExecutionException

public static FunctionExecutionException createFunctionExecutionException(java.lang.Throwable e)