edu.rit.m2mi
Class InvocationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rit.m2mi.M2MIRuntimeException
                  extended by edu.rit.m2mi.InvocationException
All Implemented Interfaces:
Serializable

public class InvocationException
extends M2MIRuntimeException

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.

See Also:
Serialized Form

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

InvocationException

public InvocationException()
Construct a new invocation exception with no detail message and no chained exception.


InvocationException

public InvocationException(String msg)
Construct a new invocation exception with the given detail message and no chained exception.

Parameters:
msg - Detail message.

InvocationException

public InvocationException(Throwable exc)
Construct a new invocation exception with no detail message and the given chained exception.

Parameters:
exc - Chained exception.

InvocationException

public InvocationException(String msg,
                           Throwable exc)
Construct a new invocation exception with the given detail message and the given chained exception.

Parameters:
msg - Detail message.
exc - Chained exception.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.