Create saxparser error handler

i made SAXErrorHandler class to throw a exception when input xml is invalid. 

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