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:

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

public java.lang.String toString()
Provides a string which describes the corruption

Returns:
a descriptive string

getAddress

public 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