FileDocCategorySizeDatePackage
PersistenceException.javaAPI DocExample1485Mon Mar 31 23:10:16 BST 2003org.dasein.persist

PersistenceException

public class PersistenceException extends Exception
Represents an error accessing some sort of data store. This class generally encapsulates an underlying data source exception explaining the true nature of the error.
Last modified $Date$
version
$Revision$
author
George Reese

Fields Summary
private Exception
cause
The exception that led to this persistence problem.
Constructors Summary
public PersistenceException()
Constructs a new persistence exception that appears to have happened for new good readon whatsoever.


                        
      
        super();
    
public PersistenceException(String msg)
Constructs a new persistence exception with the specified explanation.

param
msg the explanation for the error

        super(msg);
    
public PersistenceException(Exception cse)
Constructs a new persistence exception that results from the specified data store exception.

param
cse the cause for this persistence exception

        super(cse.getMessage());
        cause = cse;
    
Methods Summary
public java.lang.ExceptiongetCause()

return
the cause of this exception

        return cause;