public class HttpSessionRequiredException extends ServletException
| Constructor and Description |
|---|
HttpSessionRequiredException(java.lang.String msg)
Create a new HttpSessionRequiredException.
|
HttpSessionRequiredException(java.lang.String msg,
java.lang.String expectedAttribute)
Create a new HttpSessionRequiredException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpectedAttribute()
Return the name of the expected session attribute, if any.
|
getRootCausepublic HttpSessionRequiredException(java.lang.String msg)
msg - the detail messagepublic HttpSessionRequiredException(java.lang.String msg,
java.lang.String expectedAttribute)
msg - the detail messageexpectedAttribute - the name of the expected session attribute