Package org.eclipse.rdf4j.http.server
Class HTTPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.rdf4j.http.server.HTTPException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClientHTTPException
,ServerHTTPException
HTTP-related exception that includes the relevant HTTP status code.
- Author:
- Arjohn Kampman
- See Also:
-
Constructor Summary
ConstructorDescriptionHTTPException
(int statusCode) HTTPException
(int statusCode, String message) HTTPException
(int statusCode, String message, Throwable t) HTTPException
(int statusCode, Throwable t) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HTTPException
public HTTPException(int statusCode) -
HTTPException
-
HTTPException
-
HTTPException
-
-
Method Details
-
getStatusCode
public final int getStatusCode() -
setStatusCode
protected void setStatusCode(int statusCode)
-