Class BLHTTPErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
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

    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 Details

    • BLHTTPErrorException

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

    • statusCode

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

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