| Modifier and Type | Field and Description |
|---|---|
| protected PrintWriter | fOut
Print writer. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DefaultErrorHandler(PrintWriter out)
Constructs an error handler that prints error messages to the
specified |
| Modifier and Type | Method and Description |
|---|---|
| public void | error(String
The domain of the error. The domain can be any
string but is suggested to be a valid URI. The
domain can be used to conveniently specify a web
site location of the relevant specification or
document pertaining to this error. domain, String The error key. This key can be any string and
is implementation dependent. key, XMLParseException Exception. ex)Implements org. |
| public void | fatalError(String
The domain of the fatal error. The domain can be
any string but is suggested to be a valid URI. The
domain can be used to conveniently specify a web
site location of the relevant specification or
document pertaining to this fatal error. domain, String The fatal error key. This key can be any string
and is implementation dependent. key, XMLParseException Exception. ex)Implements org. |
| private void | |
| public void | warning(String
The domain of the warning. The domain can be any
string but is suggested to be a valid URI. The
domain can be used to conveniently specify a web
site location of the relevant specification or
document pertaining to this warning. domain, String The warning key. This key can be any string and
is implementation dependent. key, XMLParseException Exception. ex)Implements org. |
| fOut | back to summary |
|---|---|
| protected PrintWriter fOut Print writer. | |
| DefaultErrorHandler | back to summary |
|---|---|
| public DefaultErrorHandler() Constructs an error handler that prints error messages to
| |
| DefaultErrorHandler | back to summary |
|---|---|
| public DefaultErrorHandler(PrintWriter out) Constructs an error handler that prints error messages to the
specified | |
| error | back to summary |
|---|---|
| public void error(String domain, String key, XMLParseException ex) throws XNIException Implements org. Error.
| |
| fatalError | back to summary |
|---|---|
| public void fatalError(String domain, String key, XMLParseException ex) throws XNIException Implements org. Fatal error.
| |
| printError | back to summary |
|---|---|
| private void printError(String type, XMLParseException ex) Prints the error message. | |
| warning | back to summary |
|---|---|
| public void warning(String domain, String key, XMLParseException ex) throws XNIException Implements org. Warning.
| |