public class HttpException extends IOException
Constructor and Description |
---|
HttpException(int status) |
HttpException(int status,
String reason) |
HttpException(int status,
String reason,
Throwable rootCause) |
Modifier and Type | Method and Description |
---|---|
String |
getReason() |
int |
getStatus() |
void |
setReason(String reason) |
void |
setStatus(int status) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public HttpException(int status)
public HttpException(int status, String reason)
public String getReason()
public void setReason(String reason)
reason
- The reason to set.public int getStatus()
public void setStatus(int status)
status
- The status to set.Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.