net.sf.gilead.exception
Class NotPersistentObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.gilead.exception.NotPersistentObjectException
All Implemented Interfaces:
java.io.Serializable

public class NotPersistentObjectException
extends java.lang.RuntimeException

Exception when trying to clone or merge an object not persisted with Persistence engine

Author:
bruno.marchesson
See Also:
Serialized Form

Constructor Summary
NotPersistentObjectException(java.lang.Object object)
          Base constructor
 
Method Summary
 java.lang.String getMessage()
          Get formatted message
 java.lang.Object getObject()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

NotPersistentObjectException

public NotPersistentObjectException(java.lang.Object object)
Base constructor

Method Detail

getObject

public final java.lang.Object getObject()
Returns:
the object

getMessage

public java.lang.String getMessage()
Get formatted message

Overrides:
getMessage in class java.lang.Throwable