/****************************************************************************/
/* Copyright (c) 2000 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : supervisor.cc                                                 */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 02/07/2000                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
#include "Supervisor.h"
#include "Syslog.h"

int main(int argc, char **argv)
{
  Supervisor *supervisor;

  try {
    supervisor = new Supervisor(argc, argv);
    supervisor->run();
  }
  catch (Exception e) {
    Syslog::write("%s caught Exception: %s", argv[0], e.msg);
  }
  catch (...) {
    Syslog::write("%s caught unknown exception!", argv[0]);
  }

  delete supervisor;
  return 0;
}

