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:
- java.io.Serializable, ExceptionInfo
- Direct Known Subclasses:
- CallbackException, InvalidStateException, MetaDataException, ParseException
public class UserException
- extends OpenJPAException
Base exception type for user errors.
- Since:
- 2.5
- Author:
- Marc Prud'hommeaux
- See Also:
- Serialized Form
Method Summary |
int |
getType()
Exception type. |
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 |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
METADATA
public static final int METADATA
- See Also:
- Constant Field Values
INVALID_STATE
public static final int INVALID_STATE
- See Also:
- Constant Field Values
NO_TRANSACTION
public static final int NO_TRANSACTION
- See Also:
- Constant Field Values
CALLBACK
public static final int CALLBACK
- See Also:
- Constant Field Values
UserException
public UserException()
UserException
public UserException(java.lang.String msg)
UserException
public UserException(java.lang.Throwable cause)
UserException
public UserException(java.lang.String msg,
java.lang.Throwable cause)
getType
public int getType()
- Description copied from class:
OpenJPAException
- Exception type.
- Specified by:
getType
in interface ExceptionInfo
- Specified by:
getType
in class OpenJPAException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.