com.createsend.util.exceptions
Class BadRequestException

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.BadRequestException
All Implemented Interfaces:
java.io.Serializable

public class BadRequestException
extends CreateSendHttpException

An exception raised when the Campaign Monitor API responds with a 400 Bad Request

See Also:
Serialized Form

Constructor Summary
BadRequestException(int apiErrorCode, java.lang.String apiErrorMessage, java.lang.Object resultData)
           
 
Method Summary
 java.lang.Object getResultData()
           
 
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

BadRequestException

public BadRequestException(int apiErrorCode,
                           java.lang.String apiErrorMessage,
                           java.lang.Object resultData)
Method Detail

getResultData

public java.lang.Object getResultData()