Class BLHTTPErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class BLHTTPErrorException
    extends BLHTTPException
    The type of exceptions raised by HTTP servers returning unexpected errors.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BLHTTPErrorException​(int inStatusCode, java.lang.String inStatusMessage)
      Construct an exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int statusCode()  
      java.lang.String statusMessage()  
      • 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

      • BLHTTPErrorException

        public BLHTTPErrorException​(int inStatusCode,
                                    java.lang.String inStatusMessage)
        Construct an exception.
        Parameters:
        inStatusCode - The HTTP status code
        inStatusMessage - The HTTP status message
    • Method Detail

      • statusCode

        public int statusCode()
        Returns:
        The HTTP status code
      • statusMessage

        public java.lang.String statusMessage()
        Returns:
        The HTTP status message