Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

agfioError.h

Go to the documentation of this file.
00001 // agfioError.h: agfio error class definition
00002 // Haejoong Lee, Xiaoyi Ma, Steven Bird
00003 // Copyright (C) 2001 Linguistic Data Consortium, U Penn.
00004 // Web: http://www.ldc.upenn.edu/; Email: ldc@ldc.upenn.edu
00005 // For license information, see the file `LICENSE' included
00006 // with the distribution.
00007 
00008 
00009 #ifndef _AGFIOERROR_H_
00010 #define _AGFIOERROR_H_
00011 
00012 #include <iostream>
00013 #include <string>
00014 #include <exception>
00015 
00016 #ifdef _MSC_VER
00017 #define DllExport __declspec( dllexport )
00018 #else
00019 #define DllExport
00020 #endif
00021 
00022 using namespace std;
00023 
00025 
00030 class DllExport agfioError : public exception
00031 {
00032 private:
00033   string msg;
00034 
00035 public:
00040   agfioError(const string& s);
00041 
00042   ~agfioError() throw() {}
00043 
00048   virtual const char*
00049   what() const throw();
00050 };
00051 
00052 #endif

Generated at Wed Jul 3 14:54:01 2002 for Annotation Graph API by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001