public class StaleSessionException extends InvalidOperationException
StaleSessionException indicates that the requested operation
cannot be fulfilled because the underlying session was stale.
This indicates that the session lost its connection and could not recover it automatically.
| Constructor and Description |
|---|
StaleSessionException(String message,
JCSMPException cause) |
| Modifier and Type | Method and Description |
|---|---|
JCSMPException |
getCause()
Returns the reference to the exception or error that caused the
exception implementing the
Nestable to be thrown. |
getExtraInfo, setExtraInfogetMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic StaleSessionException(String message, JCSMPException cause)
message - The reason for the error condition.cause - The exception that caused the session to go stale.public JCSMPException getCause()
org.apache.commons.lang.exception.NestableExceptionNestable to be thrown.getCause in interface org.apache.commons.lang.exception.NestablegetCause in class org.apache.commons.lang.exception.NestableExceptionCopyright 2004-2025 Solace Corporation. All rights reserved.