Class NativeException

All Implemented Interfaces:
Serializable

public class NativeException extends SaSystemException implements Serializable
An exception indicating that a native call resulted in a return code other than retOk.
See Also:
  • Constructor Details

    • NativeException

      public NativeException(com.saperion.jni.SaJNIException saJNIException)
    • NativeException

      public NativeException(String s, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode)
      Parameters:
      s - message
      returnCode - return code from core
    • NativeException

      public NativeException(String s, Throwable cause, com.saperion.jna.applsrv.m2j.natives.Returncodes returnCode)
      Parameters:
      s - message
      cause - exception cause
      returnCode - return code from core
  • Method Details

    • getReturnCode

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