Class CrtRuntimeException

All Implemented Interfaces:
Serializable

public class CrtRuntimeException extends RuntimeException
This exception will be thrown by any exceptional cases encountered within the JNI bindings to the AWS Common Runtime
See Also:
  • Field Details

    • errorCode

      public final int errorCode
    • errorName

      public final String errorName
  • Constructor Details

    • CrtRuntimeException

      public CrtRuntimeException(String msg)
      Constructor for CRT exceptions not due to native errors
      Parameters:
      msg - exception message
    • CrtRuntimeException

      @Deprecated public CrtRuntimeException(int errorCode, String errorName)
      Deprecated.
      use CrtRuntimeException(int errorCode)
      Parameters:
      errorCode - native error code detailing the reason for the exception
      errorName - name of native error code
    • CrtRuntimeException

      public CrtRuntimeException(int errorCode)
      Constructor for Crt exceptions due to native errors
      Parameters:
      errorCode - native error code detailing the reason for the exception
  • Method Details