Class 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • 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 - message
        returnCode - 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 - message
        cause - exception cause
        returnCode - return code from core
    • Method Detail

      • getReturnCode

        public com.saperion.jna.applsrv.m2j.natives.Returncodes getReturnCode()
        Returns:
        return code from core