java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.digitalcollections.model.api.http.exceptions.HttpException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HttpClientException, HttpServerException

public class HttpException
extends java.lang.RuntimeException
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    HttpException​(java.lang.String methodKey, int status, java.lang.String request)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getMethodKey()  
    java.lang.String getRequest()  
    int getStatus()  

    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

    • HttpException

      public HttpException​(java.lang.String methodKey, int status, java.lang.String request)
  • Method Details

    • getMethodKey

      public java.lang.String getMethodKey()
    • getRequest

      public java.lang.String getRequest()
    • getStatus

      public int getStatus()