org.apache.openjpa.util
public class UserException extends OpenJPAException
Modifier and Type | Field and Description |
---|---|
static int |
CALLBACK |
static int |
INVALID_STATE |
static int |
METADATA |
static int |
NO_RESULT |
static int |
NO_TRANSACTION |
static int |
NON_UNIQUE_RESULT |
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
Constructor and Description |
---|
UserException() |
UserException(Localizer.Message msg) |
UserException(Localizer.Message msg,
java.lang.Throwable cause) |
UserException(java.lang.String msg) |
UserException(java.lang.String msg,
java.lang.Throwable cause) |
UserException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Exception type.
|
getCause, getFailedObject, getNestedThrowables, getSubtype, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage
public static final int METADATA
public static final int INVALID_STATE
public static final int NO_TRANSACTION
public static final int CALLBACK
public static final int NO_RESULT
public static final int NON_UNIQUE_RESULT
public UserException()
public UserException(java.lang.String msg)
public UserException(Localizer.Message msg)
public UserException(java.lang.Throwable cause)
public UserException(java.lang.String msg, java.lang.Throwable cause)
public UserException(Localizer.Message msg, java.lang.Throwable cause)
public int getType()
OpenJPAException
getType
in interface ExceptionInfo
getType
in class OpenJPAException