public class SessionLostException extends IllegalStateException
HttpSession
for a thread of execution is
null
.Constructor and Description |
---|
SessionLostException(Locale locale,
Thread thread)
Creates a new instance of
SessionLostException taking
the Locale of the exception and the Thread trying to
access the session. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the detail message string of this throwable.
|
Thread |
getThread()
Gets the thread accessing the session.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SessionLostException(Locale locale, Thread thread)
SessionLostException
taking
the Locale
of the exception and the Thread
trying to
access the session.locale
- The locale of the exception.thread
- the Thread
accessing the session.public String getMessage()
getMessage
in class Throwable
Throwable
instance or
null
.Copyright © 2005–2014 jDTAUS. All rights reserved.