public class IntegrityRecord extends Object implements Serializable
Constructor and Description |
---|
IntegrityRecord(String msg) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
void |
setTraces(List<StackTraceElement[]> traces)
Add a stack trace to the list of traces associated with this failure
|
String |
toString()
Dumps the integrity message and, if present, the stack trace
|
public IntegrityRecord(String msg)
msg
- the violation messagepublic void setTraces(List<StackTraceElement[]> traces)
traces
- a stack tracepublic String getMessage()
Copyright © 2005–2017 Alfresco Software. All rights reserved.