org.argouml.persistence
Class PersistenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.argouml.persistence.PersistenceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OpenException, SaveException

public class PersistenceException
extends Exception

An exception to be thrown by some persistence operation

See Also:
Serialized Form

Field Summary
private  Throwable cause
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PersistenceException()
          Constructor
PersistenceException(String message)
          Constructor
PersistenceException(String message, Throwable c)
           
PersistenceException(Throwable c)
           
 
Method Summary
 Throwable getCause()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

private Throwable cause
Constructor Detail

PersistenceException

public PersistenceException()
Constructor


PersistenceException

public PersistenceException(String message)
Constructor

Parameters:
message - the message

PersistenceException

public PersistenceException(String message,
                            Throwable c)
Parameters:
message - the message
c - the cause of the exception

PersistenceException

public PersistenceException(Throwable c)
Parameters:
c - the cause of the exception
Method Detail

getCause

public Throwable getCause()
See Also:
Throwable.getCause()

printStackTrace

public void printStackTrace()
See Also:
Throwable.printStackTrace()

printStackTrace

public void printStackTrace(PrintStream ps)
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(PrintWriter pw)
See Also:
Throwable.printStackTrace(java.io.PrintWriter)


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook