XMLStreamException, to be used for
indicating fatal validation problems (when in mode in which exceptions
are to be thrown).Note
constructors are protected, since direct instantiation should
be done using factory methods. Reason for this is that the base
XMLStreamException has less than robust handling of optional
arguments, and thus factory methods of this class can take care to
choose appropriate constructors to call, to make sure super-class does
not barf (NPE or such).
| Modifier and Type | Field and Description |
|---|---|
| protected XMLValidationProblem | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static XMLValidationException | |
| public XMLValidationProblem | Returns: Object that has all information about details of the validation problem
|
| protected static void |
| mCause | back to summary |
|---|---|
| protected XMLValidationProblem mCause | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| XMLValidationException | back to summary |
|---|---|
| protected XMLValidationException(XMLValidationProblem cause) | |
| XMLValidationException | back to summary |
|---|---|
| protected XMLValidationException(XMLValidationProblem cause, String msg) | |
| XMLValidationException | back to summary |
|---|---|
| protected XMLValidationException(XMLValidationProblem cause, String msg, Location loc) | |
| createException | back to summary |
|---|---|
| public static XMLValidationException createException(XMLValidationProblem cause) | |
| getValidationProblem | back to summary |
|---|---|
public XMLValidationProblem getValidationProblem()
| |
| throwMissing | back to summary |
|---|---|
| protected static void throwMissing() throws RuntimeException | |