Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

POSIXExceptions.h

00001 /*
00002  * Copyright 2003 Michael A. Marsh, Cornell University. All rights reserved.
00003  * This software is released under the modified BSD license.
00004  * See the file LICENSE in the top-level directory for details.
00005  */
00006 //
00007 // $Id: POSIXExceptions.h,v 1.4 2005/01/21 19:44:16 mmarsh Exp $
00008 //
00009 // $Log: POSIXExceptions.h,v $
00010 // Revision 1.4  2005/01/21 19:44:16  mmarsh
00011 // Updated for compatibility with Doxygen 1.4.1
00012 //
00013 // Revision 1.3  2004/05/19 15:56:50  mmarsh
00014 // *** empty log message ***
00015 //
00016 // Revision 1.2  2003/11/04 22:31:48  mmarsh
00017 // *** empty log message ***
00018 //
00019 //
00020 
00021 #ifndef __CODEX_EXCEPTIONS_POSIXEXCEPTIONS_H__
00022 #define __CODEX_EXCEPTIONS_POSIXEXCEPTIONS_H__
00023 
00024 #include "ExceptionBase.h"
00025 
00026 namespace CODEX_Exceptions
00027 {
00029    class GetTimeOfDayException : public ExceptionBase
00030    {
00031       public :
00033          GetTimeOfDayException( const string& fname,
00034                                 int line,
00035                                 unsigned long error ) :
00036             ExceptionBase( fname, line ),
00037             m_error( error )
00038          {}
00039 
00041          virtual ~GetTimeOfDayException() {}
00042 
00044          unsigned long error() const { return m_error; }
00045 
00046          void report() const;
00047 
00048       private :
00049          unsigned long  m_error;
00050    };
00051 
00052 }
00053 
00054 #endif /* __CODEX_EXCEPTIONS_POSIXEXCEPTIONS_H__ */

Generated on Fri May 6 17:40:51 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1