public class AuthorizationRequiredException extends JWIGException
| Constructor and Description |
|---|
AuthorizationRequiredException(String realm)
Constructs a new exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
XML |
getMessagePage()
Returns the default rendering of this exception type.
|
String |
getRealm()
Returns the realm string.
|
void |
setHeaders(HttpServletResponse r) |
getLogInfo, getXml, setErrorPageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthorizationRequiredException(String realm)
public int getErrorCode()
getErrorCode in class JWIGExceptionpublic XML getMessagePage()
JWIGExceptionJWIGException.setErrorPage(dk.brics.xact.XML).getMessagePage in class JWIGExceptionpublic String getRealm()
public void setHeaders(HttpServletResponse r)
setHeaders in class JWIGExceptionCopyright © 2008-2012 Anders Møller & Mathias Schwarz.