// Create a manager.
Manager manager = actor.getManager();
if (manager == null) {
try {
actor.setManager(new Manager(actor.workspace(), "manager"));
} catch (IllegalActionException ex) {
throw new IllegalActionException(
this,
ex,
"Failed to set manager. This can occur if "