-
- All Implemented Interfaces:
-
java.io.Serializable
public final class SendErrorException extends Exception
Thrown to indicate an unexpected 400-499 responses.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerstatusCodeprivate final StringstatusMessageprivate final StringerrorMessageprivate final Throwablecauseprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description SendErrorException(Integer statusCode, String statusMessage, String errorMessage)
-
Method Summary
Modifier and Type Method Description final IntegergetStatusCode()final StringgetStatusMessage()final StringgetErrorMessage()ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getStatusCode
final Integer getStatusCode()
-
getStatusMessage
final String getStatusMessage()
-
getErrorMessage
final String getErrorMessage()
-
getMessage
String getMessage()
-
-
-
-