Package com.day.cq.mcm.campaign
Class ConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.day.cq.mcm.campaign.CampaignException
-
- com.day.cq.mcm.campaign.ACConnectorException
-
- com.day.cq.mcm.campaign.ConnectionException
-
- All Implemented Interfaces:
Serializable
public class ConnectionException extends ACConnectorException
Thrown when a connection to Adobe Campaign fails or returns with an unexpected status code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionException(String message)
ConnectionException(String message, int statusCode)
ConnectionException(String message, Throwable cause)
ConnectionException(String message, Throwable cause, int statusCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatusCode()
Returns the response status code of the request to Adobe Campaign if this exception was caused by receiving an unexpected status code.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-