Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.dtfj.image
Interface CorruptData

    public interface CorruptData

This class is used to indicate that corruption has been detected in the image. It may indicate corruption of the image file, or it may indicate that inconsistencies have been detected within the image file, perhaps caused by a bug in the runtime or application. It may be encountered in two scenarios:

- within a CorruptDataException
- returned as an element from an Iterator

Any iterator in DTFJ may implicitly include one or more CorruptData objects within the list of objects it provides. Normal data may be found after the CorruptData object if the DTFJ implementation is able to recover from the corruption.

See Also:
  `CorruptDataException`

Method Summary
`ImagePointer` | `getAddress()` Return an address associated with the corruption.
`java.lang.String` | `toString()` Provides a string which describes the corruption

Method Detail

### toString

    java.lang.String toString()

  Provides a string which describes the corruption

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    a descriptive string

### getAddress

    ImagePointer getAddress()

  Return an address associated with the corruption. If the corruption is not associated with an address, return null. If the corruption is associated with more than one address, return the one which best identifies the corruption.

  Returns:
    the address of the corrupted data

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD