Class IntegrityRecord

    • Constructor Detail

      • IntegrityRecord

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

      • 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