com.filenet.rm.bds.exception
Class ErrorFrame
- java.lang.Object
com.filenet.rm.bds.exception.ErrorFrame
- public class ErrorFrame
- extends java.lang.Object
ErrorStack
class.
Constructor Summary
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.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addDiagnostic(Diagnostic diagnostic)
Appends a new
Diagnostic instance to this
ErrorFrame .
|
|
getDescription()
The
ErrorFrame description string.
|
getDiagnostics()
The
ErrorFrame contained Diagnostic collection.
|
|
|
getSource()
The
ErrorFrame source string.
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
ErrorFrame
- public ErrorFrame(java.lang.String source,
- java.lang.String description)
Constructor.
Parameters:
source
- source String
. Can be empty or null
. description
- description String
. Can be empty or null
. ErrorFrame
- public ErrorFrame(java.lang.String source,
- java.lang.String description,
- java.util.Collection diagnostics)
Constructor.
Parameters:
source
- source String
. Can be empty or null
. description
- description String
. Can be empty or null
. Method Detail
addDiagnostic
- public void addDiagnostic(Diagnostic diagnostic)
Appends a new
Diagnostic
instance to this
ErrorFrame
.
Parameters:
diagnostic
- the Diagnostic
to append. getSource
- public java.lang.String getSource( )
The
ErrorFrame
source string.
Returns:
the source
String
. Can be empty or null
. getDescription
- public java.lang.String getDescription( )
The
ErrorFrame
description string.
Returns:
the description
String
. Can be empty or null
. getDiagnostics
- public Diagnostic[] getDiagnostics( )
The
ErrorFrame
contained Diagnostic
collection.
Returns:
an array of
Diagnostic
instances. Can be empty or null
.