org.alfresco.repo.node.integrity
Class IntegrityRecord

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

public class IntegrityRecord
extends java.lang.Object
implements java.io.Serializable

Represents an integrity violation

See Also:
Serialized Form

Constructor Summary
IntegrityRecord(java.lang.String msg)
           
 
Method Summary
 java.lang.String getMessage()
           
 void setTraces(java.util.List 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 traces)
Add a stack trace to the list of traces associated with this failure

Parameters:
trace - 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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.