Package com.adobe.xfa.ut
Class ExceptionBase
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.adobe.xfa.ut.ExceptionBase
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ExFull
,ExResourceFailure
public abstract class ExceptionBase extends java.lang.RuntimeException
An abstract base class for XFA exceptions.Objects of this class have an associated boolean WasReported property. As architected, this property can be used by the derived classes to mean anything.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExceptionBase()
Instantiate a exception object.ExceptionBase(boolean bWasReported)
Instantiate a exception object -- the boolean c'tor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
resolve
public abstract void resolve()
Resolves the exception objects in the derived class's collection.
-
count
public abstract int count()
Counts the number of exception objects in the derived class's collection.- Returns:
- the count.
-
item
public abstract ExErrItem item(int n)
Pure abstract indexing operator to reference the given n'th exception object in the derived class's collection.- Parameters:
n
- the index of the exception object to return. Must be in the range 0 to count() - 1.- Returns:
- the n'th exception object.
-
wasReported
public boolean wasReported()
Get this object's WasReported property.- Returns:
- the WasReported property.
-
wasReported
public void wasReported(boolean bWasReported)
Set this object's WasReported property to the given boolean.- Parameters:
bWasReported
- the new WasReproted property.
-
-