org.apache.openjpa.util
Class WrappedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.openjpa.util.OpenJPAException
                  extended by org.apache.openjpa.util.WrappedException
All Implemented Interfaces:
Serializable, ExceptionInfo
Direct Known Subclasses:
ValidationException

public class WrappedException
extends OpenJPAException

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.openjpa.util.ExceptionInfo
GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
 
Constructor Summary
WrappedException(Localizer.Message msg)
           
WrappedException(Localizer.Message msg, Throwable cause)
           
WrappedException(String msg)
           
WrappedException(String msg, Throwable cause)
           
WrappedException(Throwable cause)
           
 
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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.openjpa.util.ExceptionInfo
getMessage
 

Constructor Detail

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)
Method Detail

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.