Class RestClientException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RestClientException
    extends java.lang.RuntimeException
    Exception to indicate any issues while executing a REST call.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RestClientException​(java.lang.String message, int httpErrorCode)  
      RestClientException​(java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHttpErrorCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • RestClientException

        public RestClientException​(java.lang.String message,
                                   int httpErrorCode)
      • RestClientException

        public RestClientException​(java.lang.String message,
                                   java.lang.Throwable cause)
    • Method Detail

      • getHttpErrorCode

        public int getHttpErrorCode()