Class ConfigurationApplication.IgnoreErrorHandler

    • Constructor Detail

      • IgnoreErrorHandler

        public IgnoreErrorHandler()
    • Method Detail

      • enableErrorSkipping

        public void enableErrorSkipping​(boolean enable)
        Enable or disable skipping of errors. This method does nothing.
        Specified by:
        enableErrorSkipping in interface ErrorHandler
        Parameters:
        enable - True to enable skipping, false to disable.
      • handleError

        public int handleError​(java.lang.String element,
                               NamedObj context,
                               java.lang.Throwable exception)
        Ignore the error.
        Specified by:
        handleError in interface ErrorHandler
        Parameters:
        element - The XML element that triggered the error.
        context - The container object for the element.
        exception - The exception that was thrown.
        Returns:
        CONTINUE to request skipping this element.