org.apache.openjpa.util
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
public class WrappedException
- extends OpenJPAException
- 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 |
WrappedException
public WrappedException(String msg)
WrappedException
public WrappedException(Localizer.Message msg)
WrappedException
public WrappedException(Throwable cause)
WrappedException
public WrappedException(String msg,
Throwable cause)
WrappedException
public WrappedException(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-2012 Apache Software Foundation. All Rights Reserved.