code: public Exception getLaunchError (AgentObject agentObj)
      {
          AgentData data = agentObj.getLocal(AgentData.class);
          if (data == null) {
              return null;
          }
          return data.launchError;
      }
docs: If this agent's bureau encountered an error on launch, return it.