Package com.softwareag.entirex.aci
Class BrokerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.softwareag.entirex.aci.BrokerException
- All Implemented Interfaces:
Serializable
Exception class thrown by EntireX Java ACI/RPC classes.
Use
Use
Use
toString()
to retrieve the error message including the
error class and error code. Use
getMessage()
to retrieve the error message only.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the error class part of the Broker error.int
Returns the error code part of the Broker error.Gets the error detail text.Returns additional information from the Broker call which caused the error.toString()
Overrides thetoString
method.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Method Details
-
getErrorClass
public int getErrorClass()Returns the error class part of the Broker error.- Returns:
- Broker error class as int.
-
getErrorCode
public int getErrorCode()Returns the error code part of the Broker error.- Returns:
- Broker error code as int.
-
getErrorInfo
Returns additional information from the Broker call which caused the error.
If this is an error returned from EntireX Broker, the trace information for the Broker call and its result values are returned. This information is available only when tracing is enabled. Errors which are detected by Java ACI returnnull
.- Returns:
- Trace information (if tracing is enabled) for the Broker call which caused the error.
-
toString
Overrides thetoString
method. -
getErrorDetail
Gets the error detail text.- Returns:
- the error detail text.
-