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:
java.io.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(java.lang.String message)
ConnectionException(java.lang.String message, int statusCode)
ConnectionException(java.lang.String message, java.lang.Throwable cause)
ConnectionException(java.lang.String message, java.lang.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.
-
-
-
Constructor Detail
-
ConnectionException
public ConnectionException(java.lang.String message)
-
ConnectionException
public ConnectionException(java.lang.String message, java.lang.Throwable cause)
-
ConnectionException
public ConnectionException(java.lang.String message, int statusCode)
-
ConnectionException
public ConnectionException(java.lang.String message, java.lang.Throwable cause, int statusCode)
-
-