Class IntegrityRecord

  • All Implemented Interfaces:
    java.io.Serializable

    public class IntegrityRecord
    extends java.lang.Object
    implements java.io.Serializable
    Represents an integrity violation
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IntegrityRecord​(java.lang.String msg)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      void setTraces​(java.util.List<java.lang.StackTraceElement[]> traces)
      Add a stack trace to the list of traces associated with this failure
      java.lang.String toString()
      Dumps the integrity message and, if present, the stack trace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IntegrityRecord

        public IntegrityRecord​(java.lang.String msg)
        Parameters:
        msg - the violation message
    • Method Detail

      • setTraces

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

        public java.lang.String getMessage()
      • toString

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