org.apache.portals.graffito.jcr.exception
Class PersistenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.portals.graffito.jcr.exception.NestableRuntimeException
                  extended by org.apache.portals.graffito.jcr.exception.PersistenceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LockingException

public class PersistenceException
extends NestableRuntimeException

Occurs when it is not possible to persist an object

Author:
Christophe Lombart, Alexandru Popescu
See Also:
Serialized Form

Constructor Summary
protected PersistenceException()
          Not intended for usage.
  PersistenceException(java.lang.String message)
          Constructor with message.
  PersistenceException(java.lang.String message, java.lang.Throwable nested)
          Constructor with message and throwable object.
  PersistenceException(java.lang.Throwable nested)
          Constructor with throwable object.
 
Method Summary
 
Methods inherited from class org.apache.portals.graffito.jcr.exception.NestableRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceException

protected PersistenceException()
Not intended for usage.


PersistenceException

public PersistenceException(java.lang.String message)
Constructor with message.

Parameters:
message - the message associated to the exception

PersistenceException

public PersistenceException(java.lang.Throwable nested)
Constructor with throwable object.

Parameters:
nested - the associated throwable object

PersistenceException

public PersistenceException(java.lang.String message,
                            java.lang.Throwable nested)
Constructor with message and throwable object.

Parameters:
message - the message associated to the exception
nested - the associated throwable object


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.