public class HttpSessionRequiredException extends ServletException
| Constructor and Description |
|---|
HttpSessionRequiredException(String msg)
Create a new HttpSessionRequiredException.
|
HttpSessionRequiredException(String msg,
String expectedAttribute)
Create a new HttpSessionRequiredException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpectedAttribute()
Return the name of the expected session attribute, if any.
|
getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpSessionRequiredException(String msg)
msg - the detail message