edu.rit.m2mp
Class M2MPRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rit.m2mp.M2MPRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
M2MPInitializationException

public class M2MPRuntimeException
extends RuntimeException

Class M2MPRuntimeException is the common base class for all unchecked RuntimeExceptions in M2MP.

See Also:
Serialized Form

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

M2MPRuntimeException

public M2MPRuntimeException()
Construct a new M2MP runtime exception with no detail message and no chained exception.


M2MPRuntimeException

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

Parameters:
msg - Detail message.

M2MPRuntimeException

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

Parameters:
exc - Chained exception.

M2MPRuntimeException

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