Class WrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.openjpa.util.OpenJPAException
org.apache.openjpa.util.WrappedException
- All Implemented Interfaces:
Serializable, ExceptionInfo
- Direct Known Subclasses:
ValidationException
Identifiable exception type which wraps an internal runtime exception.
- See Also:
-
Field Summary
Fields inherited from interface ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED -
Constructor Summary
ConstructorsConstructorDescriptionWrappedException(String msg) WrappedException(String msg, Throwable cause) WrappedException(Throwable cause) WrappedException(Localizer.Message msg, Throwable cause) -
Method Summary
Methods inherited from class OpenJPAException
getCause, getFailedObject, getNestedThrowables, getSubtype, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTraceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ExceptionInfo
getMessage
-
Constructor Details
-
WrappedException
-
WrappedException
-
WrappedException
-
WrappedException
-
WrappedException
-
-
Method Details
-
getType
public int getType()Description copied from class:OpenJPAExceptionException type.- Specified by:
getTypein interfaceExceptionInfo- Specified by:
getTypein classOpenJPAException
-