Exception | Description |
---|---|
AlreadyClosedReadException | |
CharSetException |
For situations where an encountered character is inconsistent with the read options.
|
ContentException |
For problems relating to the content encountered during parsing.
|
DuplicateNodeException |
For situations where the same (child) node is encountered multiple times but expected no more than once.
|
EndOfNodeWronglyAssumedException |
Exception for when a method is called which should only been called when the node has
been fully read but it has not been fully read.
|
IncorrectInvocationReadException |
The subclasses for this base class cover exceptions where there is nothing wrong with
the content but the user retrieves it incorrectly.
|
IncorrectSuppliedClassException |
Various retrieval functions return instances of classes and require the class as an input.
|
InternalBugException |
Exception for bugs internal to parsing in this system.
|
MissingNodeException |
For situations where the invoker is looking for a node which does not exist.
|
NodeException |
A whole category of exceptions for hierarchical input.
|
NodeValueDoesNotMatchTypeException |
For situations where a node contains a simple value (as opposed to child nodes) and it needs
to be convertible to a particular type (eg int, boolean) and it does not.
|
NodeValueException |
For situations where a node contains a simple value (as opposed to child nodes) and there is
a problem with that value.
|
NodeValueNotInSetException |
For situations where a node contains a simple value (as opposed to child nodes) but it is
not in the set of required values.
|
NodeWhichException |
For hierarchical input where we encounter a node which we don't want or don't encounter a
node which we do want.
|
PlausibleReadException |
Like parent class, except that it does not include exceptions for bugs internal to
parsing which the invoking classes should never encounter.
|
ReadException |
This is root of the exception hierarchy for all exceptions to do with reading within this system.
|
ReadIoException |
This is for IO exceptions encountered while reading within this system.
|
ReadOptionsEnforcementException |
For situations where the content is valid syntax in the underlying language but we have,
through relevant read options, placed additional constraints on the content and the content
does not satisfy those additional contraints.
|
SemanticException |
For situations where the content does not meet the expectations of the invoker even
though it is syntactically valid.
|
SuppliedClassNotEnumException |
For situations where an enum class is required but the supplied class is not an enum class.
|
SuppliedClassNotStringMappedException |
For situations where a class is required with a String constructor but the supplied class
does not have such a constructor.
|
SurplusNodeException |
For hierarchical input when there is an extra child node.
|
SyntaxException |
For exceptions where the input does not conform to the syntax of the underlying language.
|
TypedNodeException |
For exceptions where the node represents the wrong Java type.
|
UnorderedRetrievalException |
Exception for invoker retrieves nodes out of order in situations where the contract between
invoker and parser specifies that nodes must be retrieved in order.
|
WrongNodeException |
For hierachical input where we are trying to retrieve a particular node but we get a different node.
|