Package org.apache.openjpa.util
Class UserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.openjpa.util.OpenJPAException
org.apache.openjpa.util.UserException
- All Implemented Interfaces:
Serializable
,ExceptionInfo
- Direct Known Subclasses:
CallbackException
,InvalidStateException
,MetaDataException
,ParseException
Base exception type for user errors.
- Since:
- 0.2.5
- Author:
- Marc Prud'hommeaux
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from interface org.apache.openjpa.util.ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
-
Constructor Summary
ConstructorDescriptionUserException
(String msg) UserException
(String msg, Throwable cause) UserException
(Throwable cause) UserException
(Localizer.Message msg, Throwable cause) -
Method Summary
Methods inherited from class org.apache.openjpa.util.OpenJPAException
getCause, getFailedObject, getNestedThrowables, getSubtype, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.openjpa.util.ExceptionInfo
getMessage
-
Field Details
-
METADATA
public static final int METADATA- See Also:
-
INVALID_STATE
public static final int INVALID_STATE- See Also:
-
NO_TRANSACTION
public static final int NO_TRANSACTION- See Also:
-
CALLBACK
public static final int CALLBACK- See Also:
-
NO_RESULT
public static final int NO_RESULT- See Also:
-
NON_UNIQUE_RESULT
public static final int NON_UNIQUE_RESULT- See Also:
-
-
Constructor Details
-
UserException
public UserException() -
UserException
-
UserException
-
UserException
-
UserException
-
UserException
-
-
Method Details
-
getType
public int getType()Description copied from class:OpenJPAException
Exception type.- Specified by:
getType
in interfaceExceptionInfo
- Specified by:
getType
in classOpenJPAException
-