Code example for ErrorListener

Methods: fatalError

0
    //                    ((Locator)m_stylesheetLocatorStack.peek()); 
    // Locator locator = null; 
    ErrorListener errHandler = m_transformer.getErrorListener();
 
    if (null != errHandler)
      errHandler.fatalError(new TransformerException(formattedMsg, srcLctr));
    else 
      throw new TransformerException(formattedMsg, srcLctr);
  } 
} 
Contextual code suggestions in your IDE  Get Codota for Java