Project

General

Profile

Revision 1462

Added by Jing Tao over 18 years ago

Add a debug message for fatal error.

View differences:

src/edu/ucsb/nceas/metacat/DBSAXHandler.java
692 692
    * SAX Handler that receives notification of fatal parsing errors
693 693
    */
694 694
   public void fatalError(SAXParseException exception) throws SAXException {
695
     MetaCatUtil.debugMessage("FATALERROR", 50);
695
     MetaCatUtil.debugMessage("FATALERROR: "+exception.getMessage(), 50);
696 696
     throw (new SAXException("Fatal processing error.", exception));
697 697
   }
698 698

  

Also available in: Unified diff