com.createsend.util.exceptions
Class ServerErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.createsend.util.exceptions.CreateSendException
              extended by com.createsend.util.exceptions.CreateSendHttpException
                  extended by com.createsend.util.exceptions.ServerErrorException
All Implemented Interfaces:
java.io.Serializable

public class ServerErrorException
extends CreateSendHttpException

An exception raised when the API responds with a 500 Server Error

See Also:
Serialized Form

Constructor Summary
ServerErrorException(int apiErrorCode, java.lang.String apiErrorMessage)
           
 
Method Summary
 
Methods inherited from class com.createsend.util.exceptions.CreateSendHttpException
getApiErrorCode, getApiErrorMessage, getHttpStatusCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerErrorException

public ServerErrorException(int apiErrorCode,
                            java.lang.String apiErrorMessage)