Create saxparser error handler

i made SAXErrorHandler class to throw a exception when input xml is invalid. Without adding this object by setHandler method, SAXParser does not throw any exception.

The following is the discussion on this problem.
http://stackoverflow.com/questions/2432507/difference-in-documentbuilder-parse-when-using-jre-1-5-and-jdk-1-6