Class ConnectionException

    • Constructor Detail

      • 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 Detail

      • 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