public static class ServletWebServer.Exception
extends java.io.IOException
| Constructor and Description |
|---|
ServletWebServer.Exception(int pStatusCode,
java.lang.String pMessage,
java.lang.String pDescription)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the error description.
|
java.lang.String |
getMessage() |
int |
getStatusCode()
Returns the HTTP status code.
|
public ServletWebServer.Exception(int pStatusCode,
java.lang.String pMessage,
java.lang.String pDescription)
pStatusCode - The HTTP status code being sent to the client.pMessage - The HTTP status message being sent to the client.pDescription - The error description being sent to the client
in the response body.public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getDescription()
public int getStatusCode()
Copyright © 2001-2013. All Rights Reserved.