Interface ModelErrorHandler

    • Method Detail

      • handleModelError

        boolean handleModelError​(NamedObj context,
                                 IllegalActionException exception)
                          throws IllegalActionException
        Handle a model error.
        Parameters:
        context - The object in which the error occurred.
        exception - An exception that represents the error.
        Returns:
        True if the error has been handled, or false if the error is not handled.
        Throws:
        IllegalActionException - If the handler handles the error by throwing an exception.