Package com.sparkpost.exception
Class SparkPostErrorServerResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sparkpost.exception.SparkPostException
com.sparkpost.exception.SparkPostErrorServerResponseException
- All Implemented Interfaces:
Serializable
public class SparkPostErrorServerResponseException extends SparkPostException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SparkPostErrorServerResponseException(String message, int responseCode)SparkPostErrorServerResponseException(String message, int responseCode, ServerErrorResponses errorResponses) -
Method Summary
Methods inherited from class com.sparkpost.exception.SparkPostException
getServerErrorResponsesMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SparkPostErrorServerResponseException
-
SparkPostErrorServerResponseException
public SparkPostErrorServerResponseException(String message, int responseCode, ServerErrorResponses errorResponses)
-