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,
Throwable cause) |
UserException(String msg) |
UserException(String msg,
Throwable cause) |
UserException(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
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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(String msg)
public UserException(Localizer.Message msg)
public UserException(Throwable cause)
public UserException(Localizer.Message msg, Throwable cause)
public int getType()
OpenJPAException
getType
in interface ExceptionInfo
getType
in class OpenJPAException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.