Class HttpException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HttpException
    extends java.lang.RuntimeException
    Indicates an HTTP specific error
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpException​(int httpCode, java.lang.String message, java.lang.String... arguments)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHttpCode()  
      • 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

      • HttpException

        public HttpException​(int httpCode,
                             java.lang.String message,
                             java.lang.String... arguments)
        Parameters:
        httpCode - http code
        message - error message
        arguments - message arguments
    • Method Detail

      • getHttpCode

        public int getHttpCode()
        Returns:
        http code