/** * Get the error listener. If no ErrorListener * has been set locally, the ErrorListener in the Controller is returned; this in turn defaults * to the ErrorListener set in the Configuration. * * @return the ErrorListener in use. This will always be an UnfailingErrorListener, * which is a Saxon subclass of ErrorListener that throws no exceptions. * @since 9.2. Changed in 9.6 to use a local ErrorListener. */ public UnfailingErrorListener getErrorListener() { return contextObject.getErrorListener(); }
/** * Get the error listener. If no ErrorListener * has been set locally, the ErrorListener in the Controller is returned; this in turn defaults * to the ErrorListener set in the Configuration. * * @return the ErrorListener in use. This will always be an UnfailingErrorListener, * which is a Saxon subclass of ErrorListener that throws no exceptions. * @since 9.2. Changed in 9.6 to use a local ErrorListener. */ public UnfailingErrorListener getErrorListener() { return contextObject.getErrorListener(); }