public class WFSExceptionWriter extends Object
| Constructor and Description |
|---|
WFSExceptionWriter(String text,
String locator,
String ExceptionCode)
Creates a new OWS Exception Report based on a text and an exception code.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(javax.servlet.http.HttpServletResponse hsr)
Given the information on construction, writes the necessary exception information.
|
public WFSExceptionWriter(String text, String locator, String ExceptionCode)
text - the text associated with the exceptionlocator - the locator associated with the exceptionExceptionCode - the standardized exception codehsr - http response to write topublic void write(javax.servlet.http.HttpServletResponse hsr)
throws IOException
hsr - the Servlet Response to write toIOException