Package com.emailit.exception
Class EmailitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.emailit.exception.EmailitException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApiConnectionException,AuthenticationException,InvalidRequestException,RateLimitException,UnprocessableEntityException
public class EmailitException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmailitException(String message)EmailitException(String message, int httpStatus, String httpBody, Map<String,Object> jsonBody, Map<String,String> httpHeaders)EmailitException(String message, int httpStatus, String httpBody, Map<String,Object> jsonBody, Map<String,String> httpHeaders, Throwable cause)EmailitException(String message, Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmailitExceptionfactory(String message, int httpStatus, String httpBody, Map<String,Object> jsonBody, Map<String,String> httpHeaders)StringgetHttpBody()Map<String,String>getHttpHeaders()intgetHttpStatus()Map<String,Object>getJsonBody()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-