Package software.amazon.awssdk.crt
Class CrtRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.crt.CrtRuntimeException
- All Implemented Interfaces:
Serializable
This exception will be thrown by any exceptional cases encountered within
the JNI bindings to the AWS Common Runtime
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCrtRuntimeException
(int errorCode) Constructor for Crt exceptions due to native errorsCrtRuntimeException
(int errorCode, String errorName) Deprecated.use CrtRuntimeException(int errorCode)Constructor for CRT exceptions not due to native errors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
errorCode
public final int errorCode -
errorName
-
-
Constructor Details
-
CrtRuntimeException
Constructor for CRT exceptions not due to native errors- Parameters:
msg
- exception message
-
CrtRuntimeException
Deprecated.use CrtRuntimeException(int errorCode)- Parameters:
errorCode
- native error code detailing the reason for the exceptionerrorName
- 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