General purpose nasty hack to determine if an exception can be
safely ignored -- specifically, if it's an IOException or
SocketException that is thrown in the normal course of a socket
closing halfway through a connection, or if it's a weird
unknown type of exception.
When a generator implements ClassDeclarationPhase, its generate
method will only be invoked while generating the servlet's class
body and not during the service method phase.
Construct (if necessary) and return a class loader that has been
configured with the specified parent class loader, and repositories
as needed to access the required XML parser.
Create (if necessary) and return an instance of ParserUtils that has
been loaded by our subordinate class loader (and therefore should have
access to the XML parser that is visible to repositories of that
class loader).
Logs the message and Throwable to its logger or, if logger
not found, to the default logger, which writes to the
default sink, which is usually System.err
Return a context-relative path, beginning with a "/", that represents
the canonical version of the specified path after ".." and "." elements
are resolved out.
An internationalization / localization helper class which reduces
the bother of handling ResourceBundles and takes care of the
common cases of message formating which otherwise require the
creation of Object arrays and such.
Converts a Throwable to a printable stack trace, including the
nested root cause for a ServletException or JasperException if
applicable
TODO: JDBCException too
Converts a Throwable to a printable stack trace, including the
nested root cause for a ServletException or JasperException or
SQLException if applicable