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
public class UserException
- extends OpenJPAException
Base exception type for user errors.
- Since:
- 0.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 |
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
NO_RESULT
public static final int NO_RESULT
- See Also:
- Constant Field Values
NON_UNIQUE_RESULT
public static final int NON_UNIQUE_RESULT
- See Also:
- Constant Field Values
UserException
public UserException()
UserException
public UserException(String msg)
UserException
public UserException(Localizer.Message msg)
UserException
public UserException(Throwable cause)
UserException
public UserException(String msg,
Throwable cause)
UserException
public UserException(Localizer.Message msg,
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-2010 Apache Software Foundation. All Rights Reserved.