Package org.alfresco.repo.node.integrity
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegrityRecord(String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()voidsetTraces(List<StackTraceElement[]> traces)Add a stack trace to the list of traces associated with this failureStringtoString()Dumps the integrity message and, if present, the stack trace
-
-
-
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()
-
-