|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.EntityExistsException
public class EntityExistsException
The EntityExistsException may thrown by the persistence provider when the persist operation is invoked and the entity already exists. The EntityExistsException may be thrown when the persist operation is invoked, or the EntityExistsException or another PersistenceException may be thrown at commit time.
Field Summary | |
---|---|
private static long |
serialVersionUID
UID for serialization. |
Constructor Summary | |
---|---|
EntityExistsException()
Default constructor : builds an exception with an empty message. |
|
EntityExistsException(java.lang.String message)
Build an exception with the given message. |
|
EntityExistsException(java.lang.String message,
java.lang.Throwable causedByThrowable)
Builds an exception with a given message and given exception. |
|
EntityExistsException(java.lang.Throwable causedByThrowable)
Build an exception with the given exception. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public EntityExistsException()
public EntityExistsException(java.lang.String message)
message
- the given message to use.public EntityExistsException(java.lang.Throwable causedByThrowable)
causedByThrowable
- the cause of this exception.public EntityExistsException(java.lang.String message, java.lang.Throwable causedByThrowable)
message
- the message of this exception.causedByThrowable
- the cause of this exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |