edu.rit.m2mi
Class ExportException

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.ExportException
All Implemented Interfaces:
Serializable

public class ExportException
extends M2MIRuntimeException

Class ExportException encapsulates an exception thrown when M2MI is unable to export or unexport an object. The ExportException's detail message and/or chained exception provide further information.

Class ExportException is an unchecked RuntimeException because it indicates an unrecoverable error condition (typically, that the M2MP Layer is not working), not a normal event that needs to be caught and handled.

See Also:
Serialized Form

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

ExportException

public ExportException()
Construct a new export exception with no detail message and no chained exception.


ExportException

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

Parameters:
msg - Detail message.

ExportException

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

Parameters:
exc - Chained exception.

ExportException

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