Methods Summary |
---|
public void | addCause(java.lang.String cause)
causes.add( cause );
|
public void | addCheck(java.lang.String check)
checks.add( check );
|
public java.util.ArrayList | getDiagnosticChecks()
return checks;
|
public java.lang.String | getMessageId()
return messageId;
|
public java.util.ArrayList | getPossibleCauses()
return causes;
|
public java.lang.String | getURI()
return uri;
|
public void | print()A Simple Debug print method to print the contents of this class.
System.out.println( "---------------------------------" );
System.out.println( "Diagnostics for MessageId = " + messageId );
Iterator iterator = null;
if( causes != null ) {
iterator = causes.iterator( );
System.out.println( "Causes --> " );
while( iterator.hasNext( ) ) {
System.out.println( iterator.next( ) );
}
}
if( checks != null ) {
iterator = checks.iterator( );
System.out.println( "Checks --> " );
while( iterator.hasNext( ) ) {
System.out.println( iterator.next( ) );
}
}
System.out.println( "URI = " + uri );
System.out.println( "---------------------------------" );
|
public void | setDiagnosticChecks(java.util.ArrayList list)
checks = list;
|
public void | setPossibleCauses(java.util.ArrayList list)
causes = list;
|
public void | setURI(java.lang.String uri)
this.uri = uri;
|