Controller.java -- a module class containing class wide methods used to control execution.
pause(n) pauses program execution for n seconds.Receive: seconds, a double value
Precondition: seconds > 0.
Postcondition: secconds time has elapsed since invocation.
fatal(methodName, diagnostic) displays a diagnostic error message for methodName and terminates execution.Receive: methodName, the name of the method where the error occurred, and diagnostic, a message explaining the problem
Output: an error message containing methodName and diagnostic
Postcondition: Execution has been terminated.
Back to the package documentation index