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, setErrorPage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthorizationRequiredException(String realm)
public int getErrorCode()
getErrorCode
in class JWIGException
public XML getMessagePage()
JWIGException
JWIGException.setErrorPage(dk.brics.xact.XML)
.getMessagePage
in class JWIGException
public String getRealm()
public void setHeaders(HttpServletResponse r)
setHeaders
in class JWIGException
Copyright © 2008-2012 Anders Møller & Mathias Schwarz.