|
JSecurity | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jsecurity.JSecurityException
org.jsecurity.session.SessionException
org.jsecurity.session.InvalidSessionException
public class InvalidSessionException
Exception thrown when attempting to interact with the system under an established session
when that session is considered invalid. The meaning of the term 'invalid' is based on
application behavior. For example, a Session is considered invalid if it has been explicitly
stopped (e.g. when a user logs-out or when explicitly
stopped programmatically. A Session can also be
considered invalid if it has expired.
StoppedSessionException,
ExpiredSessionException,
UnknownSessionException,
Serialized Form| Constructor Summary | |
|---|---|
InvalidSessionException()
Creates a new InvalidSessionException. |
|
InvalidSessionException(Serializable sessionId)
Constructs a new InvalidSessionException. |
|
InvalidSessionException(String message)
Constructs a new InvalidSessionException. |
|
InvalidSessionException(String message,
Serializable sessionId)
Constructs a new InvalidSessionException. |
|
InvalidSessionException(String message,
Throwable cause)
Constructs a new InvalidSessionException. |
|
InvalidSessionException(String message,
Throwable cause,
Serializable sessionId)
Constructs a new InvalidSessionException. |
|
InvalidSessionException(Throwable cause)
Constructs a new InvalidSessionException. |
|
| Method Summary |
|---|
| Methods inherited from class org.jsecurity.session.SessionException |
|---|
getSessionId, setSessionId |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidSessionException()
public InvalidSessionException(String message)
message - the reason for the exceptionpublic InvalidSessionException(Throwable cause)
cause - the underlying Throwable that caused this exception to be thrown.
public InvalidSessionException(String message,
Throwable cause)
message - the reason for the exceptioncause - the underlying Throwable that caused this exception to be thrown.public InvalidSessionException(Serializable sessionId)
sessionId - the session id of the session that has been invalidated.
public InvalidSessionException(String message,
Serializable sessionId)
message - the reason for the exceptionsessionId - the session id of the session that has been invalidated.
public InvalidSessionException(String message,
Throwable cause,
Serializable sessionId)
message - the reason for the exceptioncause - the underlying Throwable that caused this exception to be thrown.sessionId - the session id of the session that has been invalidated.
|
JSecurity | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||