public class RollbackException extends JCSMPOperationException
If a router error response is available, it is stored as a
JCSMPErrorResponseException
as the cause
of this
exception. See its JCSMPErrorResponseException.getSubcodeEx()
field
for the error type.
Possible error types on transaction commits include:
JCSMPErrorResponseSubcodeEx.SERVICE_UNAVAILABLE
JCSMPErrorResponseSubcodeEx.MESSAGE_PUBLISH_FAILURE
JCSMPErrorResponseSubcodeEx.TRANSACTION_MESSAGE_CONSUME_FAILURE
JCSMPErrorResponseSubcodeEx.INVALID_TRANSACTION_ID
JCSMPErrorResponseSubcodeEx.TRANSACTION_OVERFLOW
JCSMPErrorResponseSubcodeEx.ENDPOINT_MODIFIED
TransactedSession
,
Serialized FormConstructor and Description |
---|
RollbackException(String message) |
RollbackException(String message,
Throwable cause) |
getExtraInfo, setExtraInfo
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
Copyright 2004-2024 Solace Corporation. All rights reserved.