Package org.alfresco.repo.node.integrity
Class IntegrityRecord
- java.lang.Object
-
- org.alfresco.repo.node.integrity.IntegrityRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class IntegrityRecord extends java.lang.Object implements java.io.SerializableRepresents 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.StringgetMessage()voidsetTraces(java.util.List<java.lang.StackTraceElement[]> traces)Add a stack trace to the list of traces associated with this failurejava.lang.StringtoString()Dumps the integrity message and, if present, the stack trace
-
-
-
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:
toStringin classjava.lang.Object
-
-