org.apache.cayenne
Class FaultFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.cayenne.CayenneRuntimeException
                  extended by org.apache.cayenne.FaultFailureException
All Implemented Interfaces:
Serializable

public class FaultFailureException
extends CayenneRuntimeException

A runtime exception thrown when DataObject.resolveFault() finds that no matching row exists in the database for an ObjectId.

See Also:
Serialized Form

Constructor Summary
FaultFailureException()
          Creates new FaultFailureException without detail message.
FaultFailureException(String msg)
          Constructs an FaultFailureException with the specified detail message.
FaultFailureException(String msg, Throwable th)
           
FaultFailureException(Throwable th)
          Constructs an FaultFailureException that wraps a Throwable thrown elsewhere.
 
Method Summary
 
Methods inherited from class org.apache.cayenne.CayenneRuntimeException
getMessage, getUnlabeledMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaultFailureException

public FaultFailureException()
Creates new FaultFailureException without detail message.


FaultFailureException

public FaultFailureException(String msg)
Constructs an FaultFailureException with the specified detail message.

Parameters:
msg - the detail message.

FaultFailureException

public FaultFailureException(Throwable th)
Constructs an FaultFailureException that wraps a Throwable thrown elsewhere.


FaultFailureException

public FaultFailureException(String msg,
                             Throwable th)


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.