spring-framework / org.springframework.util.xml / SimpleSaxErrorHandler

SimpleSaxErrorHandler

open class SimpleSaxErrorHandler : ErrorHandler

Simple org.xml.sax.ErrorHandler implementation: logs warnings using the given Commons Logging logger instance, and rethrows errors to discontinue the XML transformation.

Author
Juergen Hoeller

Since
1.2

Constructors

<init>

SimpleSaxErrorHandler(logger: Log)

Create a new SimpleSaxErrorHandler for the given Commons Logging logger instance.

Functions

error

open fun error(ex: SAXParseException): Unit

fatalError

open fun fatalError(ex: SAXParseException): Unit

warning

open fun warning(ex: SAXParseException): Unit