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, setExtraInfo
getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public 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.NestableException
Nestable
to be thrown.getCause
in interface org.apache.commons.lang.exception.Nestable
getCause
in class org.apache.commons.lang.exception.NestableException
Copyright 2004-2024 Solace Corporation. All rights reserved.