Class HttpException

All Implemented Interfaces:
Serializable

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

    • HttpException

      public HttpException(int errorCode)
      Constructs a new HttpException
      Parameters:
      errorCode - native error code representing the error source/reason
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Returns the error code captured when the exception occurred. This can be fed to CRT.awsErrorString() to get a user-friendly error string
      Returns:
      The error code associated with this exception