|
||||||||||
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
edu.rit.m2mi.M2MIRuntimeException
edu.rit.m2mi.InvocationException
public class InvocationException
Class InvocationException encapsulates an unchecked exception thrown when an M2MI method invocation on a handle or on a target object was not successful. The InvocationException's detail message and/or chained exception provide further information.
Class InvocationException is an unchecked RuntimeException so that it can be thrown by any method invoked on a handle for any interface, even though the method was not declared to throw this exception.
Constructor Summary | |
---|---|
InvocationException()
Construct a new invocation exception with no detail message and no chained exception. |
|
InvocationException(String msg)
Construct a new invocation exception with the given detail message and no chained exception. |
|
InvocationException(String msg,
Throwable exc)
Construct a new invocation exception with the given detail message and the given chained exception. |
|
InvocationException(Throwable exc)
Construct a new invocation exception with no detail message and the given chained exception. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvocationException()
public InvocationException(String msg)
msg
- Detail message.public InvocationException(Throwable exc)
exc
- Chained exception.public InvocationException(String msg, Throwable exc)
msg
- Detail message.exc
- Chained exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |