public class SessionException extends IOException
| Modifier and Type | Class and Description |
|---|---|
static class |
SessionException.Reason
The reason of the exception.
|
| Constructor and Description |
|---|
SessionException(String sessionId,
SessionException.Reason reason)
Creates a new instance.
|
SessionException(String sessionId,
SessionException.Reason reason,
Throwable cause)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SessionException.Reason |
getReason()
Returns the reason of this exception.
|
String |
getSessionId()
Returns the target session ID.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SessionException(String sessionId, SessionException.Reason reason, Throwable cause)
sessionId - target session IDreason - the reason of this exceptioncause - the cause of this exception (optional)IllegalArgumentException - if any parameter is nullpublic SessionException(String sessionId, SessionException.Reason reason)
sessionId - target session IDreason - the reason of this exceptionIllegalArgumentException - if any parameter is nullpublic String getSessionId()
public SessionException.Reason getReason()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.