|
webMethods Broker Administration Java API Version 9.5.1.0.171 091713 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
COM.activesw.api.client.BrokerException
public class BrokerException
This class is the base exception type for all exception thrown by Information Broker client classes. Refer to specific exception sub-classes for information on why those exceptions are thrown.
Field Summary | |
---|---|
static java.lang.String |
BROKER_EXCEPTION_SET_DIAG_FILE
Broker Java API diagnostic tracing can now be redirected to a file via the Java System property "brokerexc.diagfile" . |
static java.lang.String |
BROKER_EXCEPTION_SET_DIAG_LEVEL
BrokerException.setDiagnostics(...) can now be set via the Java System property "brokerexc.setdiag" . |
static int |
DIAG_NONE
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_NONE will disable diagnostics. |
static int |
DIAG_SHOW_ALL
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_SHOW_ALL will enable all diagnostics. |
static int |
DIAG_SHOW_ALL_ERRORS
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_SHOW_ALL_ERRORS will enable all errors
diagnostics. |
static int |
DIAG_SHOW_FATAL_ERRORS
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_SHOW_FATAL_ERRORS will enable all fatal errors
diagnostics. |
static int |
DIAG_SHOW_QUEUE_INFO
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_SHOW_QUEUE_INFO will enable queue info
diagnostics. |
static int |
DIAG_SHOW_SOCKET_ACTIVITY
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_SHOW_SOCKET_ACTIVITY will enable socket
activity diagnostics. |
static int |
DIAG_SHOW_SOCKET_PARSING
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_SHOW_SOCKET_PARSING will enable socket parsing
diagnostics. |
static int |
DIAG_SHOW_SOCKET_TRAFFIC
Setting the "brokerexc.setdiag" Java System property to BrokerException.DIAG_SHOW_SOCKET_TRAFFIC will enable socket traffic
diagnostics. |
static int |
MINOR_TRANSACTION_ALREADY_EXISTS
|
static int |
MINOR_TRANSACTION_ALREADY_EXISTS_HEURISTICALLY
|
static int |
MINOR_TRANSACTION_ALREADY_PREPARED
|
static int |
MINOR_TRANSACTION_CLIENT_MISMATCH
|
static int |
MINOR_TRANSACTION_CLOSED
|
static int |
MINOR_TRANSACTION_HEURISTICALLY_COMMITTED
|
static int |
MINOR_TRANSACTION_HEURISTICALLY_ROLLED_BACK
|
static int |
MINOR_TRANSACTION_HEURISTICALLY_ROLLED_BACK_TIMEOUT
|
static int |
MINOR_TRANSACTION_ID_NOT_VALID
|
static int |
MINOR_TRANSACTION_INVALID_VALUE
|
static int |
MINOR_TRANSACTION_NOT_OPEN
|
static int |
MINOR_TRANSACTION_STATE_MISMATCH
|
static int |
MINOR_TRANSACTION_TIMEOUT_VALUE_INVALID
|
static int |
MINOR_TRANSACTION_UNABLE_TO_REOPEN
|
static int |
MINOR_UNKNOWN_TRANSACTION
|
Constructor Summary | |
---|---|
protected |
BrokerException(int ex_id,
int ex_code,
int ex_minor_code)
System use only. |
Method Summary | |
---|---|
int |
getCode()
Get the exception code. |
static int |
getDiagnostics()
Get the system diagnostics level. |
java.lang.String |
getMessage()
Get the message string for the exception without the error code and other information. |
java.lang.String |
getMessage(java.util.Locale locale)
Get the message string for the exception without the error code and other information. |
int |
getMinorCode()
Get the exception minor code. |
static void |
setDiagnostics(int diag)
Set the system diagnostics level. |
java.lang.String |
toCompleteString()
Get a printable version of the exception. |
java.lang.String |
toCompleteString(java.util.Locale locale)
Get a printable version of the exception. |
java.lang.String |
toString()
Get a printable version of the exception. |
java.lang.String |
toString(java.util.Locale locale)
Get a printable version of the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DIAG_NONE
BrokerException.DIAG_NONE
will disable diagnostics. BrokerException.DIAG_NONE
);
public static final int DIAG_SHOW_FATAL_ERRORS
BrokerException.DIAG_SHOW_FATAL_ERRORS
will enable all fatal errors
diagnostics. BrokerException.DIAG_SHOW_FATAL_ERRORS
);
public static final int DIAG_SHOW_ALL_ERRORS
BrokerException.DIAG_SHOW_ALL_ERRORS
will enable all errors
diagnostics. BrokerException.DIAG_SHOW_ALL_ERRORS
);
public static final int DIAG_SHOW_SOCKET_ACTIVITY
BrokerException.DIAG_SHOW_SOCKET_ACTIVITY
will enable socket
activity diagnostics. BrokerException.DIAG_SHOW_SOCKET_ACTIVITY
);
public static final int DIAG_SHOW_SOCKET_TRAFFIC
BrokerException.DIAG_SHOW_SOCKET_TRAFFIC
will enable socket traffic
diagnostics. BrokerException.DIAG_SHOW_SOCKET_TRAFFIC
);
public static final int DIAG_SHOW_SOCKET_PARSING
BrokerException.DIAG_SHOW_SOCKET_PARSING
will enable socket parsing
diagnostics. BrokerException.DIAG_SHOW_SOCKET_PARSING
);
public static final int DIAG_SHOW_QUEUE_INFO
BrokerException.DIAG_SHOW_QUEUE_INFO
will enable queue info
diagnostics. BrokerException.DIAG_SHOW_QUEUE_INFO
);
public static final int DIAG_SHOW_ALL
BrokerException.DIAG_SHOW_ALL
will enable all diagnostics. BrokerException.DIAG_SHOW_ALL
);
public static final java.lang.String BROKER_EXCEPTION_SET_DIAG_LEVEL
See the public static final fields starting with DIAG_ for more possible diagnostics levels.
public static final java.lang.String BROKER_EXCEPTION_SET_DIAG_FILE
public static final int MINOR_UNKNOWN_TRANSACTION
public static final int MINOR_TRANSACTION_CLOSED
public static final int MINOR_TRANSACTION_CLIENT_MISMATCH
public static final int MINOR_TRANSACTION_NOT_OPEN
public static final int MINOR_TRANSACTION_STATE_MISMATCH
public static final int MINOR_TRANSACTION_HEURISTICALLY_COMMITTED
public static final int MINOR_TRANSACTION_HEURISTICALLY_ROLLED_BACK
public static final int MINOR_TRANSACTION_HEURISTICALLY_ROLLED_BACK_TIMEOUT
public static final int MINOR_TRANSACTION_UNABLE_TO_REOPEN
public static final int MINOR_TRANSACTION_INVALID_VALUE
public static final int MINOR_TRANSACTION_ID_NOT_VALID
public static final int MINOR_TRANSACTION_ALREADY_PREPARED
public static final int MINOR_TRANSACTION_TIMEOUT_VALUE_INVALID
public static final int MINOR_TRANSACTION_ALREADY_EXISTS
public static final int MINOR_TRANSACTION_ALREADY_EXISTS_HEURISTICALLY
Constructor Detail |
---|
protected BrokerException(int ex_id, int ex_code, int ex_minor_code)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String toString(java.util.Locale locale)
public java.lang.String toCompleteString()
public java.lang.String toCompleteString(java.util.Locale locale)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getMessage(java.util.Locale locale)
public int getCode()
public int getMinorCode()
public static void setDiagnostics(int diag)
public static int getDiagnostics()
|
webMethods Broker Administration Java API Version 9.5.1.0.171 091713 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |