centralDmpErrorHandler = controller;
}
if (controller.isCentralAsyncErrorHandler()){
if (centralAsyncErrorHandler != null){
ResultException ex = new ResultException();
ex.addError("Multiple controllers are specified as the central asynchronous code loading error handler.");
ex.result.lastResult().moreMessages(centralAsyncErrorHandler.getControllerName() + " in " + centralAsyncErrorHandler.getDefinedInModule().getFile() + " at line " + centralDmpErrorHandler.getDefinedInModule().getLineNumber());
ex.result.lastResult().moreMessages(controller.getControllerName() + " in " + controller.getDefinedInModule().getFile() + " at line " + controller.getDefinedInModule().getLineNumber());
throw(ex);
}
centralAsyncErrorHandler = controller;