de.mguennewig.pobjects
Class PObjException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.mguennewig.pobjects.PObjException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PObjConstraintException, PObjSQLException, PObjSyntaxException

public abstract class PObjException
extends java.lang.Exception

Base class of all exceptions that can be raised by the persistent object library.

Usually, such an exception signals a condition that cannot happen with ``normal'' (that is, local to the process) objects, or a breach of the contract between the library and the application (for example, when trying to make an object persistent twice).

Author:
Michael Günnewig
See Also:
Serialized Form

Constructor Summary
PObjException()
          Creates a new PObjException with default message.
PObjException(java.lang.Exception cause)
          Creates a new PObjException with an Exception as cause.
PObjException(java.lang.String msg)
          Creates a new PObjException with a given 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PObjException

public PObjException()
Creates a new PObjException with default message.


PObjException

public PObjException(java.lang.String msg)
Creates a new PObjException with a given message.


PObjException

public PObjException(java.lang.Exception cause)
Creates a new PObjException with an Exception as cause.