org.jdiagnose
Interface DiagnosticMessage

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultDiagnosticMessage

public interface DiagnosticMessage
extends java.io.Serializable

Information about a DiagnosticResult. In the case of an exception, the summary would contain exception.getMessage() and the body the exceptions stacktrace.

Author:
jmccrindle

Method Summary
 java.lang.String getBody()
           
 java.lang.String getSummary()
          A summary of the diagnostic result.
 

Method Detail

getSummary

public java.lang.String getSummary()
A summary of the diagnostic result. Ideally should be only a single line.

Returns:
a summary of the diagnostic result message

getBody

public java.lang.String getBody()
Returns:
more details about the diagnostic result


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.