public class SolXAException extends XAException
errorCode, XA_HEURCOM, XA_HEURHAZ, XA_HEURMIX, XA_HEURRB, XA_NOMIGRATE, XA_RBBASE, XA_RBCOMMFAIL, XA_RBDEADLOCK, XA_RBEND, XA_RBINTEGRITY, XA_RBOTHER, XA_RBPROTO, XA_RBROLLBACK, XA_RBTIMEOUT, XA_RBTRANSIENT, XA_RDONLY, XA_RETRY, XAER_ASYNC, XAER_DUPID, XAER_INVAL, XAER_NOTA, XAER_OUTSIDE, XAER_PROTO, XAER_RMERR, XAER_RMFAIL| Constructor and Description |
|---|
SolXAException(XAResponseParam response)
SolXAException constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
effectiveLogLevel()
Returns the effective log level used with this error.
|
String |
effectiveLogLevelStr()
Returns the effective log level used with this error as a string.
|
String |
errCodeStr()
Returns the XAException error code as a string.
|
long |
errSubCode()
Returns the error subcode.
|
String |
errSubCodeStr()
Returns the error subcode as a string.
|
String |
getLocalizedMessage() |
String |
getMessage() |
byte |
logLevel()
Returns the log level used with this error.
|
String |
logLevelStr()
Returns the log level used with this error as a string.
|
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SolXAException(XAResponseParam response)
response - public String errCodeStr()
public long errSubCode()
XAResponseCodespublic String errSubCodeStr()
XAResponseCodespublic byte logLevel()
effectiveLogLevel().XAResponseCodespublic String logLevelStr()
XAResponseCodespublic int effectiveLogLevel()
XAResponseCodespublic String effectiveLogLevelStr()
XAResponseCodespublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class ThrowableCopyright 2004-2021 Solace Corporation. All rights reserved.