public abstract class ExceptionBase extends RuntimeException
Objects of this class have an associated boolean WasReported property. As architected, this property can be used by the derived classes to mean anything.
Constructor and Description |
---|
ExceptionBase()
Instantiate a exception object.
|
ExceptionBase(boolean bWasReported)
Instantiate a exception object -- the boolean c'tor.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
count()
Counts the number of exception
objects in the derived class's collection.
|
abstract ExErrItem |
item(int n)
Pure abstract indexing operator to reference
the given n'th exception object in the derived class's
collection.
|
abstract void |
resolve()
Resolves the exception objects
in the derived class's collection.
|
boolean |
wasReported()
Get this object's WasReported property.
|
void |
wasReported(boolean bWasReported)
Set this object's WasReported property to the given boolean.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExceptionBase()
public ExceptionBase(boolean bWasReported)
bWasReported
- set this object's WasReported property
to the given boolean.public abstract void resolve()
public abstract int count()
public abstract ExErrItem item(int n)
n
- the index of the exception object to return.
Must be in the range 0 to count() - 1.public boolean wasReported()
public void wasReported(boolean bWasReported)
bWasReported
- the new WasReproted property.Copyright © 2010 - 2020 Adobe. All Rights Reserved