laser.util
Class PersistentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by laser.util.PersistentException
All Implemented Interfaces:
java.io.Serializable

public class PersistentException
extends java.lang.Exception

The PersistentException class signals that an error occurred while reading/writing the Persistent form of the Object.

Author:
Heather M. Conboy (laser-software@cs.umass.edu), Nathan A. Jokel
See Also:
Persistent, Serialized Form

Constructor Summary
PersistentException()
          Constructs a new PersistentException.
PersistentException(java.lang.String msg)
          Constructs a new PersistentException with the given message.
PersistentException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a new PersistentException with the given message and cause.
PersistentException(java.lang.Throwable cause)
          Constructs a new PersistentException with the given cause.
 
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

PersistentException

public PersistentException()
Constructs a new PersistentException.


PersistentException

public PersistentException(java.lang.String msg)
Constructs a new PersistentException with the given message.

Parameters:
msg - The message to report to the user

PersistentException

public PersistentException(java.lang.String msg,
                           java.lang.Throwable cause)
Constructs a new PersistentException with the given message and cause.

Parameters:
msg - The message to report to the user
cause - The cause of the exception

PersistentException

public PersistentException(java.lang.Throwable cause)
Constructs a new PersistentException with the given cause.

Parameters:
cause - The cause of the exception