Package software.amazon.awssdk.crt.http
Class HttpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.crt.http.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpException(int errorCode)
Constructs a new HttpException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
Returns the error code captured when the exception occurred.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-