Class CrtRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Fields 
      Modifier and Type Field Description
      int errorCode  
      java.lang.String errorName  
    • Constructor Summary

      Constructors 
      Constructor Description
      CrtRuntimeException​(int errorCode)
      Constructor for Crt exceptions due to native errors
      CrtRuntimeException​(int errorCode, java.lang.String errorName)
      Deprecated.
      use CrtRuntimeException(int errorCode)
      CrtRuntimeException​(java.lang.String msg)
      Constructor for CRT exceptions not due to native errors
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • errorCode

        public final int errorCode
      • errorName

        public final java.lang.String errorName
    • Constructor Detail

      • CrtRuntimeException

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

        @Deprecated
        public CrtRuntimeException​(int errorCode,
                                   java.lang.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 Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable