|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jmi.reflect.JmiException
org.openmdx.base.accessor.jmi.cci.JmiServiceException
public class JmiServiceException
The JmiServiceException is a specialization of the JmiException. It embeds a ServiceExeption and is thrown by the openMDX implementation.
| Constructor Summary | |
|---|---|
JmiServiceException(BasicException.Wrapper cause)
Constructor |
|
JmiServiceException(BasicException.Wrapper cause,
RefObject elementInError)
Constructor |
|
| Method Summary | |
|---|---|
JmiServiceException |
appendCause(Throwable cause)
|
Throwable |
getCause()
Returns the cause of an exception. |
BasicException |
getCause(String exceptionDomain)
Returns the cause belonging to a specific exception domain. |
int |
getExceptionCode()
Retrieves the exception code of this ServiceException. |
String |
getExceptionDomain()
Retrieves the exception domain of this ServiceException. |
BasicException |
getExceptionStack()
Return a StackedException, this exception object's cause. |
String |
getMessage()
Returns the detail message string of this RuntimeServiceException. |
protected static BasicException.Parameter[] |
getParameters(RefObject elementInError)
Retrieve attributes of the element in error |
ServiceException |
getServiceException()
Deprecated. use new |
BasicException |
getStackedException()
Deprecated. use getExceptionStack() |
Throwable |
initCause(Throwable cause)
Initializes the cause of this throwable to the specified value. |
JmiServiceException |
log()
Log the exception at warning level. |
void |
printStackTrace(PrintStream s)
|
void |
printStackTrace(PrintWriter s)
|
String |
toString()
A String consisting of the class of this exception, the exception domain, the exception code, the exception description and the exception stack. |
| Methods inherited from class javax.jmi.reflect.JmiException |
|---|
getElementInError, getObjectInError |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JmiServiceException(BasicException.Wrapper cause)
cause - a BasicException wrapper
public JmiServiceException(BasicException.Wrapper cause,
RefObject elementInError)
cause - a BasicException wrapperelementInError - | Method Detail |
|---|
protected static BasicException.Parameter[] getParameters(RefObject elementInError)
elementInError -
public JmiServiceException log()
public JmiServiceException appendCause(Throwable cause)
public final BasicException getStackedException()
public BasicException getExceptionStack()
getExceptionStack in interface BasicException.Wrapperpublic String getExceptionDomain()
ServiceException.
getExceptionDomain in interface BasicException.Wrapperpublic int getExceptionCode()
ServiceException.
getExceptionCode in interface BasicException.Wrapperpublic BasicException getCause(String exceptionDomain)
getCause in interface BasicException.WrapperexceptionDomain - the desired exception domain,
or null to retrieve the initial cause.
exceptionDomain is
null.public String getMessage()
getMessage in interface BasicException.WrappergetMessage in class Throwablepublic String toString()
toString in class Throwablepublic Throwable initCause(Throwable cause)
initCause in class Throwablecause - the cause (which is saved for later retrieval by the
getCause() method). (A null value is permitted, and indicates
that the cause is nonexistent or unknown.)
IllegalArgumentException - if cause is this throwable.
(A throwable cannot be its own cause.)
IllegalStateException - if the cause is already set.public Throwable getCause()
getCause in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class Throwablepublic ServiceException getServiceException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||