public class CorbaExceptionConverter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_JAVAEXCEPTION_CLASS |
static java.lang.String |
PROPERTY_JAVAEXCEPTION_MESSAGE |
| Constructor and Description |
|---|
CorbaExceptionConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
convertErrorTraceToJavaException(ErrorTrace et,
AcsJException jEx) |
static java.lang.Throwable |
convertHiddenErrorTrace(java.lang.Throwable thr)
Checks if a given Throwable is of a CORBA type generated by the ACS error system.
|
public static final java.lang.String PROPERTY_JAVAEXCEPTION_CLASS
public static final java.lang.String PROPERTY_JAVAEXCEPTION_MESSAGE
public static void convertErrorTraceToJavaException(ErrorTrace et,
AcsJException jEx)
public static java.lang.Throwable convertHiddenErrorTrace(java.lang.Throwable thr)
The check is based on the fact that all ACS error system exceptions derive
from org.omg.CORBA.UserException, and have a field errorTrace
of type alma.ACSErr.ErrorTrace.
thr - thr itself if no conversion is necessary,
or if the conversion failed with an exception.