org.apache.openjpa.util
Class InternalException

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.InternalException
All Implemented Interfaces:
Serializable, ExceptionInfo

public class InternalException
extends OpenJPAException

Exception type for internal errors.

Since:
0.3.2
Author:
Abe White
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.openjpa.util.ExceptionInfo
GENERAL, INTERNAL, STORE, UNSUPPORTED, USER
 
Constructor Summary
InternalException()
           
InternalException(Localizer.Message msg)
           
InternalException(Localizer.Message msg, Throwable cause)
           
InternalException(String msg)
           
InternalException(String msg, Throwable cause)
           
InternalException(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

InternalException

public InternalException()

InternalException

public InternalException(String msg)

InternalException

public InternalException(Localizer.Message msg)

InternalException

public InternalException(Throwable cause)

InternalException

public InternalException(String msg,
                         Throwable cause)

InternalException

public InternalException(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-2007 Apache Software Foundation. All Rights Reserved.