org.apache.openjpa.util
Class ObjectExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.openjpa.util.OpenJPAException
org.apache.openjpa.util.StoreException
org.apache.openjpa.util.ObjectExistsException
- All Implemented Interfaces:
- Serializable, ExceptionInfo
public class ObjectExistsException
- extends StoreException
Exception type reserved for conflicts with existing objects.
- Author:
- Abe White
- See Also:
- Serialized Form
Method Summary |
int |
getSubtype()
Exception subtype. |
Methods inherited from class org.apache.openjpa.util.OpenJPAException |
getCause, getFailedObject, getNestedThrowables, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString |
ObjectExistsException
public ObjectExistsException(String msg)
ObjectExistsException
public ObjectExistsException(Localizer.Message msg)
getSubtype
public int getSubtype()
- Description copied from class:
OpenJPAException
- Exception subtype.
- Specified by:
getSubtype
in interface ExceptionInfo
- Overrides:
getSubtype
in class OpenJPAException
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.