/** * Report an exception if it occurred in a background run. * * @exception IllegalActionException If there is no director, or if a background run threw an * exception. */ public void wrapup() throws IllegalActionException { super.wrapup(); if (_throwable != null) { Throwable throwable = _throwable; _throwable = null; throw new IllegalActionException(this, throwable, "Background run threw an exception"); } }
/** * Reset this actor back to uninitialized state to prepare for the next execution. * * @exception IllegalActionException If the base class throws it. */ public void wrapup() throws IllegalActionException { super.wrapup(); _isSceneGraphInitialized = false; }
/** * Wrapup execution. Derived classes should override this method to release access to the audio * resources. * * @exception IllegalActionException May be thrown by derived classes. */ public void wrapup() throws IllegalActionException { super.wrapup(); _isExecuting = false; }
/** * @Function: void wrapup() --------------------------- @Input: none @Output: none @Description: */ public void wrapup() throws IllegalActionException { super.wrapup(); System.out.println("Simulation over, get your results and enjoy it :-)"); }