org.apache.openjpa.persistence
Class InvalidStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by org.apache.openjpa.persistence.InvalidStateException
All Implemented Interfaces:
Serializable, ExceptionInfo

public class InvalidStateException
extends IllegalStateException
implements Serializable, ExceptionInfo

Extended IllegalStateException.

Since:
0.4.0
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
InvalidStateException(org.apache.openjpa.lib.util.Localizer.Message msg, Throwable[] nested, Object failed, boolean fatal)
           
InvalidStateException(String msg, Throwable[] nested, Object failed, boolean fatal)
           
 
Method Summary
 Throwable getCause()
           
 Object getFailedObject()
           
 Throwable[] getNestedThrowables()
           
 int getSubtype()
           
 int getType()
           
 boolean isFatal()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream out)
           
 void printStackTrace(PrintWriter out)
           
 String 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

InvalidStateException

public InvalidStateException(org.apache.openjpa.lib.util.Localizer.Message msg,
                             Throwable[] nested,
                             Object failed,
                             boolean fatal)

InvalidStateException

public InvalidStateException(String msg,
                             Throwable[] nested,
                             Object failed,
                             boolean fatal)
Method Detail

getType

public int getType()
Specified by:
getType in interface ExceptionInfo

getSubtype

public int getSubtype()
Specified by:
getSubtype in interface ExceptionInfo

isFatal

public boolean isFatal()
Specified by:
isFatal in interface ExceptionInfo

getCause

public Throwable getCause()
Specified by:
getCause in interface ExceptionInfo
Overrides:
getCause in class Throwable

getNestedThrowables

public Throwable[] getNestedThrowables()
Specified by:
getNestedThrowables in interface ExceptionInfo

getFailedObject

public Object getFailedObject()
Specified by:
getFailedObject in interface ExceptionInfo

toString

public String toString()
Overrides:
toString in class Throwable

printStackTrace

public void printStackTrace()
Specified by:
printStackTrace in interface ExceptionInfo
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream out)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter out)
Overrides:
printStackTrace in class Throwable


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.