Defines the approach for reporting errors that occur while parsing, validating or manipulating WSDL descriptions, such as XML parser errors or violations of the rules defined in the WSDL specification. That is, errors that relate specifically to the WSDL. It does not report system runtime or configuration errors, which are instead treated as exceptions.
There are four ways to report an error:
An error id and an array of message arguments are used to produce a formatted error message from some parameterized message text. The error may be reported with an target exception or without one.
An error id is specified with some ready-formatted message text. The error may be reported with an target exception or without one.
The error is handled according to the severity level (warning, error or fatal error) reported with the error.
The error reporter supports the 'en' (English) locale by default and has a default error handler (i.e. a default implementation of ErrorHandler). However, a different locale may be configured via
setLocale
and a custom error handler implementation may be configured as a system property.
@author jkaputin@apache.org