org.openrdf.http.server
Class HTTPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openrdf.http.server.HTTPException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ClientHTTPException, ServerHTTPException
public class HTTPException
- extends Exception
HTTP-related exception that includes the relevant HTTP status code.
- Author:
- Arjohn Kampman
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HTTPException
public HTTPException(int statusCode)
HTTPException
public HTTPException(int statusCode,
String message)
HTTPException
public HTTPException(int statusCode,
String message,
Throwable t)
HTTPException
public HTTPException(int statusCode,
Throwable t)
getStatusCode
public final int getStatusCode()
setStatusCode
protected void setStatusCode(int statusCode)
Copyright © 2001-2008 Aduna. All Rights Reserved.