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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from interface org.apache.openjpa.util.ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED -
Constructor Summary
ConstructorsConstructorDescriptionUserException(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, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:OpenJPAExceptionException type.- Specified by:
getTypein interfaceExceptionInfo- Specified by:
getTypein classOpenJPAException
-