Package com.sparkpost.exception
Class SparkPostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sparkpost.exception.SparkPostException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SparkPostAccessForbiddenException,SparkPostAuthorizationFailedException,SparkPostErrorServerResponseException,SparkPostIllegalServerResponseException
public class SparkPostException extends Exception
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SparkPostException()SparkPostException(String message)SparkPostException(String message, ServerErrorResponses errorResponses)SparkPostException(String message, Throwable cause)SparkPostException(String message, Throwable cause, ServerErrorResponses errorResponses)SparkPostException(Throwable cause)SparkPostException(Throwable cause, ServerErrorResponses errorResponses) -
Method Summary
Modifier and Type Method Description ServerErrorResponsesgetServerErrorResponses()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SparkPostException
public SparkPostException() -
SparkPostException
-
SparkPostException
-
SparkPostException
-
SparkPostException
-
SparkPostException
-
SparkPostException
-
-
Method Details
-
getServerErrorResponses
-