//=========================================================================
// Summary  : */
// Filename : Exception.h
// Author   : */
// Project  : */
// Revision : 1
// Created  : 2000/08/19
// Modified : 2000/08/19
//=========================================================================
// Description :
//=========================================================================
#ifndef _EXCEPTION_H
#define _EXCEPTION_H

#include <string.h>

/*
CLASS 
Exception

DESCRIPTION
Base class for thrown exceptions

AUTHOR
Tom O'Reilly
*/
class Exception {

public:

  ///////////////////////////////////////////////////////////////////
  // Constructor
  // [input] message: Descriptive message
  Exception(char *message) {
    strncpy(msg, message, sizeof(msg));
  }

  ///////////////////////////////////////////////////////////////////
  // Descriptive text message
  char msg[255];
};

#endif
