public class ResourceManagerException extends Exception implements ResourceManagerErrorCodes
ResourceManager
.Modifier and Type | Field and Description |
---|---|
static String |
ERR_UNKNOWN_CODE |
static String |
ERR_UNKNOWN_TEXT |
protected int |
status |
protected Object |
txId |
ERR_DEAD_LOCK, ERR_DUP_TX, ERR_ISOLATION_LEVEL_UNSUPPORTED, ERR_LOCK, ERR_MARKED_FOR_ROLLBACK, ERR_NO_LOCK, ERR_NO_SUCH_RESOURCE, ERR_NO_TX, ERR_RESOURCE_EXISTS, ERR_RESOURCEID_INVALID, ERR_SYSTEM, ERR_SYSTEM_INCONSISTENT, ERR_THREAD_INVALID, ERR_TX_INACTIVE, ERR_TX_INCONSISTENT, ERR_TXID_INVALID, ERR_UNKNOWN
Constructor and Description |
---|
ResourceManagerException(int status,
Object txId) |
ResourceManagerException(int status,
Object txId,
Throwable cause) |
ResourceManagerException(String message) |
ResourceManagerException(String message,
int status,
Object txId) |
ResourceManagerException(String message,
int status,
Object txId,
Throwable cause) |
ResourceManagerException(String message,
int status,
Throwable cause) |
ResourceManagerException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
protected static String |
composeMessage(String msg,
int status,
Object txId) |
protected static String |
composeMessage(String msg,
int status,
Object txId,
Throwable cause) |
int |
getStatus() |
static String |
statusToCode(int status) |
String |
statusToString() |
static String |
statusToText(int status) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String ERR_UNKNOWN_TEXT
public static final String ERR_UNKNOWN_CODE
protected final int status
public ResourceManagerException(String message, int status, Object txId)
public ResourceManagerException(int status, Object txId)
public ResourceManagerException(String message)
public ResourceManagerException(String message, int status, Object txId, Throwable cause)
public ResourceManagerException(String message, int status, Throwable cause)
public ResourceManagerException(String message, Throwable cause)
public ResourceManagerException(int status, Object txId, Throwable cause)
protected static final String composeMessage(String msg, int status, Object txId, Throwable cause)
protected static final String composeMessage(String msg, int status, Object txId)
public static final String statusToText(int status)
public static final String statusToCode(int status)
public String statusToString()
public int getStatus()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.