com.cafesoft.cams
Class PersistenceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.cafesoft.core.exception.NestedException
                    |
                    +--com.cafesoft.cams.PersistenceException
All Implemented Interfaces:
Serializable

public final class PersistenceException
extends NestedException

PersistenceException represents an exceptional condition encountered when attempting to create, load, or store an Object instance. This class is useful for factory classes that need to indicate that an Object could not be created or loaded. It is also useful for classes that store objects to a database, file, or other persistent store.

See Also:
Serialized Form

Constructor Summary
PersistenceException()
          Construct a new PersistenceException with no other information.
PersistenceException(String message)
          Construct a new PersistenceException for the specified message.
PersistenceException(String message, Throwable cause)
          Construct a new PersistenceException for the specified message and throwable.
PersistenceException(Throwable cause)
          Construct a new PersistenceException for the specified throwable.
 
Methods inherited from class com.cafesoft.core.exception.NestedException
getCause, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceException

public PersistenceException()
Construct a new PersistenceException with no other information.


PersistenceException

public PersistenceException(String message)
Construct a new PersistenceException for the specified message.

Parameters:
message - a message describing this exception

PersistenceException

public PersistenceException(Throwable cause)
Construct a new PersistenceException for the specified throwable.

Parameters:
cause - throwable that caused this exception

PersistenceException

public PersistenceException(String message,
                            Throwable cause)
Construct a new PersistenceException for the specified message and throwable.

Parameters:
message - message describing this exception
cause - throwable that caused this exception


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.