public static class Objects.MyAcsJException extends AcsJException
m_file, m_host, m_line, m_method, m_process, m_properties, m_severity, m_sourceObject, m_threadName, m_timeMilli| Constructor and Description |
|---|
MyAcsJException(java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getErrorCode()
Forces a subclass to choose an ACS error code.
|
protected int |
getErrorType()
Forces a subclass to choose an ACS error type.
|
org.omg.CORBA.UserException |
toCorbaException()
Creates a CORBA
UserException from this exception. |
createSingleErrorTrace, createSingleErrorTrace, getErrorTrace, getFile, getHost, getLine, getMethod, getNameValueArray, getProcess, getProperty, getSeverity, getShortDescription, getSourceObject, getThreadName, getTimestampMillis, getTraceDepth, log, setProcessName, setProperty, setSeverity, toAcsJCompletion, toStringprotected int getErrorType()
AcsJExceptiongetErrorType in class AcsJExceptionprotected int getErrorCode()
AcsJExceptiongetErrorCode in class AcsJExceptionpublic org.omg.CORBA.UserException toCorbaException()
AcsJExceptionUserException from this exception.
Subclasses must return their associated UserException
with an ErrorTrace member.
By convention, subclasses must also implement another method that returns
the correct subtype of UserException.
No problem with a code generator of course...
toCorbaException in class AcsJException