| java.lang.Object java.lang.Throwable java.lang.Exception de.danet.an.util.sax.ParsingException
ParsingException | public class ParsingException extends Exception implements java.io.Serializable(Code) | | This class represents an exception that results from collected parsing
errors.
|
ParsingException | public ParsingException(String msg, CollectingErrorHandler errorHandler)(Code) | | Construct a ParsingException from a collecting error
handler. The warnings, errors, fatal error of the Exception are
taken from the error handler.
Parameters: msg - the main message of the exception. Parameters: errorHandler - the error handler. |
ParsingException | public ParsingException(String msg, List warningMsgs, List errorMsgs, List fatalMsgs)(Code) | | Construct a ParsingException from given lists of
warnings, errors and fatal errors.
Parameters: msg - the main message of the exception. Parameters: warningMsgs - the warning messages (or null ). Parameters: errorMsgs - the error messages (or null ). Parameters: fatalMsgs - the fatal error messages (or null ). |
getErrors | public List getErrors()(Code) | | Return all errors. The value returned is a list of
java.lang.String strings .
list with error messages (may be an empty list). |
getFatalErrors | public List getFatalErrors()(Code) | | Return all fatal errors. The value returned is a list of
java.lang.String strings .
list with fatal error messages (may be an empty list). |
getMessages | public List getMessages()(Code) | | Return all messages, i.e. warnings, errors and fatal
errors. The value returned is a list of
java.lang.Stringstrings .
list with error messages (may be an empty list). |
getWarnings | public List getWarnings()(Code) | | Return all warnings. The value returned is a list of
java.lang.String strings .
list with warning messages (may be an empty list). |
|
|