public class ErrorFrame
extends java.lang.Object
ErrorStack
class.Constructor and Description |
---|
ErrorFrame(java.lang.String source,
java.lang.String description)
Constructor.
|
ErrorFrame(java.lang.String source,
java.lang.String description,
java.util.Collection diagnostics)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDiagnostic(Diagnostic diagnostic)
Appends a new
Diagnostic instance to this
ErrorFrame . |
java.lang.String |
getDescription()
The
ErrorFrame description string. |
Diagnostic[] |
getDiagnostics()
The
ErrorFrame contained Diagnostic collection. |
java.lang.String |
getSource()
The
ErrorFrame source string. |
public ErrorFrame(java.lang.String source, java.lang.String description)
source
- source String
. Can be empty or null
.description
- description String
. Can be empty or null
.public ErrorFrame(java.lang.String source, java.lang.String description, java.util.Collection diagnostics)
source
- source String
. Can be empty or null
.description
- description String
. Can be empty or null
.diagnostics
- Collection
of Diagnostic
instances
contained within this ErrorFrame
.public void addDiagnostic(Diagnostic diagnostic)
Diagnostic
instance to this
ErrorFrame
.diagnostic
- the Diagnostic
to append.public java.lang.String getSource()
ErrorFrame
source string.String
. Can be empty or null
.public java.lang.String getDescription()
ErrorFrame
description string.String
. Can be empty or null
.public Diagnostic[] getDiagnostics()
ErrorFrame
contained Diagnostic
collection.Diagnostic
instances. Can be empty or null
.© Copyright IBM Corp. 2006, 2013. All Rights Reserved.