Package com.saperion.rmi.serverexception
Class NativeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.saperion.exception.SaBasicException
com.saperion.exception.SaSystemException
com.saperion.rmi.serverexception.NativeException
- All Implemented Interfaces:
Serializable
An exception indicating that a native call resulted in a return code other than retOk.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNativeException
(com.saperion.jni.SaJNIException saJNIException) NativeException
(String s, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode) NativeException
(String s, Throwable cause, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode) -
Method Summary
Modifier and TypeMethodDescriptioncom.saperion.jna.applsrv.m2j.natives.Returncodes
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NativeException
public NativeException(com.saperion.jni.SaJNIException saJNIException) -
NativeException
- Parameters:
s
- messagereturnCode
- return code from core
-
NativeException
public NativeException(String s, Throwable cause, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode) - Parameters:
s
- messagecause
- exception causereturnCode
- return code from core
-
-
Method Details
-
getReturnCode
public com.saperion.jna.applsrv.m2j.natives.Returncodes getReturnCode()- Returns:
- return code from core
-