protected void throwParseException(ParseException e) throws ParseException {
  if (locator != null) {
    String elementLocation="";
    if (curHandler != null) {
      elementLocation+=", element " + curHandler.qName;
    }
    String location="[Line " + String.valueOf(locator.getLineNumber()) + ", Column "+ String.valueOf(locator.getColumnNumber())+ elementLocation+ "] ";
    LogUtils.logException(logger,Level.FINE,location,e);
    throw new ParseException(location + e.getMessage(),e);
  }
 else {
    LogUtils.logException(logger,Level.FINE,null,e);
    throw e;
  }
}

protected void throwParseException ( ParseException e ) throws ParseException { if ( locator != null ) { String elementLocation = "" ; if ( curHandler != null ) { elementLocation += ", element " + curHandler . qName ; } String location = "[Line " + String . valueOf ( locator . getLineNumber ( ) ) + ", Column " + String . valueOf ( locator . getColumnNumber ( ) ) + elementLocation + "] " ; LogUtils . logException ( logger , Level . FINE , location , e ) ; throw new ParseException ( location + e . getMessage ( ) , e ) ; } else { LogUtils . logException ( logger , Level . FINE , null , e ) ; throw e ; } }
throws a parse exception with line / column information .
