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

AGException.h

Go to the documentation of this file.
00001 // AGException: Class definition of AGException
00002 // Author: 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 AGException_h
00010 #define AGException_h
00011 
00012 #include <string>
00013 
00014 using namespace std;
00015 
00022 class AGException{
00023  private:
00024   string message;
00025 
00026  public:
00028   AGException(const string& message) { this->message = message; }
00030   string error() { return message; }
00031 };
00032 
00033 #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