public class JWIGException extends RuntimeException
Constructor and Description |
---|
JWIGException()
Constructs a new exception.
|
JWIGException(String message)
Constructs a new exception with a message string.
|
JWIGException(String message,
Throwable cause)
Constructs a new exception with a message string and a
Throwable . |
JWIGException(Throwable cause)
Constructs a new exception with a
Throwable . |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
String |
getLogInfo() |
protected XML |
getMessagePage()
Returns the default rendering of this exception type.
|
XML |
getXml()
The XML to display to the user.
|
void |
setErrorPage(XML errorPage)
Sets the error page that is shown to the user.
|
void |
setHeaders(HttpServletResponse r) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JWIGException()
public JWIGException(String message)
public JWIGException(String message, Throwable cause)
Throwable
.public JWIGException(Throwable cause)
Throwable
.public int getErrorCode()
public String getLogInfo()
protected XML getMessagePage()
setErrorPage(dk.brics.xact.XML)
.public XML getXml()
setErrorPage(dk.brics.xact.XML)
public void setErrorPage(XML errorPage)
public void setHeaders(HttpServletResponse r)
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.