Class IntegrityRecord

java.lang.Object
org.alfresco.repo.node.integrity.IntegrityRecord
All Implemented Interfaces:
Serializable

public class IntegrityRecord extends Object implements Serializable
Represents an integrity violation
Author:
Derek Hulley
See Also:
  • Constructor Details

    • IntegrityRecord

      public IntegrityRecord(String msg)
      Parameters:
      msg - the violation message
  • Method Details

    • setTraces

      public void setTraces(List<StackTraceElement[]> traces)
      Add a stack trace to the list of traces associated with this failure
      Parameters:
      traces - a stack trace
    • getMessage

      public String getMessage()
    • toString

      public String toString()
      Dumps the integrity message and, if present, the stack trace
      Overrides:
      toString in class Object