Package com.softwareag.entirex.aci
Class BrokerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.softwareag.entirex.aci.BrokerException
-
- All Implemented Interfaces:
java.io.Serializable
public class BrokerException extends java.lang.Exception
Exception class thrown by EntireX Java ACI/RPC classes.
UsetoString()
to retrieve the error message including the error class and error code.
UsegetMessage()
to retrieve the error message only.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorClass()
Returns the error class part of the Broker error.int
getErrorCode()
Returns the error code part of the Broker error.java.lang.String
getErrorDetail()
Gets the error detail text.java.lang.String
getErrorInfo()
Returns additional information from the Broker call which caused the error.java.lang.String
toString()
Overrides thetoString
method.
-
-
-
Method Detail
-
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
public java.lang.String 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
public java.lang.String toString()
Overrides thetoString
method.- Overrides:
toString
in classjava.lang.Throwable
- Returns:
- A complete error message including error class and error code.
-
getErrorDetail
public java.lang.String getErrorDetail()
Gets the error detail text.- Returns:
- the error detail text.
-
-