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:
java.io.Serializable
public class NativeException extends SaSystemException implements java.io.Serializable
An exception indicating that a native call resulted in a return code other than retOk.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NativeException(com.saperion.jni.SaJNIException saJNIException)
NativeException(java.lang.String s, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode)
NativeException(java.lang.String s, java.lang.Throwable cause, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.saperion.jna.applsrv.m2j.natives.Returncodes
getReturnCode()
-
-
-
Constructor Detail
-
NativeException
public NativeException(com.saperion.jni.SaJNIException saJNIException)
-
NativeException
public NativeException(java.lang.String s, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode)
- Parameters:
s
- messagereturnCode
- return code from core
-
NativeException
public NativeException(java.lang.String s, java.lang.Throwable cause, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode)
- Parameters:
s
- messagecause
- exception causereturnCode
- return code from core
-
-