fr.umlv.javaodb
Class PersistenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by fr.umlv.javaodb.PersistenceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RollbackException

public class PersistenceException
extends RuntimeException

This exception is raised by the persistent manager or a persitence context.

Author:
Remi Forax
See Also:
PersistenceManager, PersistenceContext, Serialized Form

Constructor Summary
PersistenceException(String message)
          Creates an exception with a cause and a message.
PersistenceException(String message, Throwable cause)
          Creates an exception with a cause and a message.
PersistenceException(Throwable cause)
          Creates an exception with a cause and a message.
 
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

PersistenceException

public PersistenceException(String message,
                            Throwable cause)
Creates an exception with a cause and a message.

Parameters:
message - the message
cause - the cause of the exception.

PersistenceException

public PersistenceException(String message)
Creates an exception with a cause and a message.

Parameters:
message - the message

PersistenceException

public PersistenceException(Throwable cause)
Creates an exception with a cause and a message.

Parameters:
cause - the cause of the exception.


2006 - Université de Marne-la-Vallée