org.apache.openjpa.persistence
Class EntityExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.EntityExistsException
org.apache.openjpa.persistence.EntityExistsException
- All Implemented Interfaces:
- Serializable, ExceptionInfo
public class EntityExistsException
- extends javax.persistence.EntityExistsException
- implements Serializable, ExceptionInfo
Conflict with existing entity.
- Since:
- 0.4.0
- Author:
- Abe White
- See Also:
- Serialized Form
EntityExistsException
public EntityExistsException(String msg,
Throwable[] nested,
Object failed,
boolean fatal)
getType
public int getType()
- Specified by:
getType
in interface ExceptionInfo
getSubtype
public int getSubtype()
- Specified by:
getSubtype
in interface ExceptionInfo
isFatal
public boolean isFatal()
- Specified by:
isFatal
in interface ExceptionInfo
getCause
public Throwable getCause()
- Specified by:
getCause
in interface ExceptionInfo
- Overrides:
getCause
in class Throwable
getNestedThrowables
public Throwable[] getNestedThrowables()
- Specified by:
getNestedThrowables
in interface ExceptionInfo
getFailedObject
public Object getFailedObject()
- Specified by:
getFailedObject
in interface ExceptionInfo
toString
public String toString()
- Overrides:
toString
in class Throwable
printStackTrace
public void printStackTrace()
- Specified by:
printStackTrace
in interface ExceptionInfo
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream out)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter out)
- Overrides:
printStackTrace
in class Throwable
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.