edu.rit.m2mi
Class M2MIRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rit.m2mi.M2MIRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExportException, InvalidMethodException, InvocationException, M2MIInitializationException, SynthesisException

public class M2MIRuntimeException
extends RuntimeException

Class M2MIRuntimeException is the common base class for all unchecked RuntimeExceptions in M2MI.

See Also:
Serialized Form

Constructor Summary
M2MIRuntimeException()
          Construct a new M2MI runtime exception with no detail message and no chained exception.
M2MIRuntimeException(String msg)
          Construct a new M2MI runtime exception with the given detail message and no chained exception.
M2MIRuntimeException(String msg, Throwable exc)
          Construct a new M2MI runtime exception with the given detail message and the given chained exception.
M2MIRuntimeException(Throwable exc)
          Construct a new M2MI runtime 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

M2MIRuntimeException

public M2MIRuntimeException()
Construct a new M2MI runtime exception with no detail message and no chained exception.


M2MIRuntimeException

public M2MIRuntimeException(String msg)
Construct a new M2MI runtime exception with the given detail message and no chained exception.

Parameters:
msg - Detail message.

M2MIRuntimeException

public M2MIRuntimeException(Throwable exc)
Construct a new M2MI runtime exception with no detail message and the given chained exception.

Parameters:
exc - Chained exception.

M2MIRuntimeException

public M2MIRuntimeException(String msg,
                            Throwable exc)
Construct a new M2MI runtime 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.