Module openj9.dtfj

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 class: java.lang.Object
      Answers a string containing a concise, human-readable description of the receiver.
      Specified by:
      toString in interface CorruptData
      Overrides:
      toString in class Object
      Returns:
      String a printable representation for the receiver.
    • 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.