# Class ToOneFault

java.lang.Object
org.apache.cayenne.Fault
org.apache.cayenne.access.ToOneFault

All Implemented Interfaces:
  `Serializable`

public class ToOneFault extends Fault

Since:
  3.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ToOneFault()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `resolveFault(Persistent sourceObject, String relationshipName)`
  Resolves this fault to a Persistent.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ToOneFault

    public ToOneFault()

- ## Method Details

  - ### resolveFault

    public Object resolveFault(Persistent sourceObject, String relationshipName)
    Resolves this fault to a Persistent.
    Specified by:
      `resolveFault` in class `Fault`