Class 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:
  • Constructor Details

    • ConnectionException

      public ConnectionException(String message)
    • ConnectionException

      public ConnectionException(String message, Throwable cause)
    • ConnectionException

      public ConnectionException(String message, int statusCode)
    • ConnectionException

      public ConnectionException(String message, Throwable cause, int statusCode)
  • Method Details

    • getStatusCode

      public int getStatusCode()
      Returns the response status code of the request to Adobe Campaign if this exception was caused by receiving an unexpected status code. Otherwise it returns -1;
      Returns:
      The response status code or -1