Interface ExceptionHandler

    • Method Detail

      • handleException

        boolean handleException​(NamedObj context,
                                java.lang.Throwable exception)
                         throws IllegalActionException
        Handle an exception. This method may throw another exception.
        Parameters:
        context - The object in which the exception occurred.
        exception - An exception to be handled.
        Returns:
        True if the exception has been handled, or false if the exception is not handled.
        Throws:
        IllegalActionException - If this handler handles the exception by throwing an exception.