Package org.apache.cayenne.access

## 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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | `resolveFault​(Persistent sourceObject, String relationshipName)` | Resolves this fault to a DataObject.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ToOneFault

          public ToOneFault()

  - ### Method Detail

    - #### resolveFault

          public Object resolveFault​(Persistent sourceObject,
                                     String relationshipName)

      Resolves this fault to a DataObject.
      Specified by:
        `resolveFault` in class `Fault`