Class CorruptData

java.lang.Object
com.ibm.dtfj.image.j9.CorruptData
All Implemented Interfaces:
CorruptData

public class CorruptData extends Object implements CorruptData
  • Constructor Details

    • CorruptData

      public CorruptData(String message, ImagePointer address)
    • CorruptData

      public CorruptData(String message)
      Create a corrupt data object without an associated address
      Parameters:
      message -
  • Method Details

    • toString

      public String toString()
      Description copied from interface: CorruptData
      Provides a string which describes the corruption.
      Specified by:
      toString in interface CorruptData
      Overrides:
      toString in class Object
      Returns:
      a descriptive string.
    • getAddress

      public ImagePointer getAddress()
      Description copied from interface: CorruptData
      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.
      Specified by:
      getAddress in interface CorruptData
      Returns:
      the address of the corrupted data.