• Main Page
  • Classes
  • Files
  • File List
  • File Members

Beesnest/DcExceptionFile.h

Go to the documentation of this file.
00001 /*
00002 Copyright 2007 Erez Bibi (erezbibi@users.sourceforge.net)
00003 This file is part of Beesnest.
00004 
00005 Beesnest is free software; you can redistribute it and/or modify
00006 it under the terms of the GNU General Public License as published by
00007 the Free Software Foundation; either version 2 of the License, or
00008 (at your option) any later version.
00009 
00010 Beesnest is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 GNU General Public License for more details.
00014 
00015 You should have received a copy of the GNU General Public License
00016 along with Beesnest; if not, write to the Free Software
00017 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018 */
00019 
00020 /* DcExceptionFile.h: interface for the CdcExceptionFile class. */
00021 
00022 /**
00023  * CdcExceptionFile indicates an error in retrieving files from the file system.
00024  * <p>
00025  * @author Erez Bibi
00026  * @version 1.0
00027  */
00028 
00029 #ifndef __CDC_EXCEPTION_FILE
00030 #define __CDC_EXCEPTION_FILE
00031 
00032 #include "DcGlobals.h"
00033 #include "DcException.h"
00034 
00035 class CdcExceptionFile : public CdcException
00036 {
00037 /* No differant decleration then CdcException. */
00038 public:
00039     /**
00040      * Constructor with error code, or default constructor.
00041      * <p>
00042      * @param code The error code for this exception (DC_FILE_EXP
00043      * is the default).
00044      */
00045     CdcExceptionFile (t_exception_num code = DC_FILE_EXP);
00046 
00047     /**
00048      * Constructor with code and message, or just message.
00049      * <p>
00050      * @param msg The error message for this exception.
00051      * @param code The error code for this exception (DC_FILE_EXP
00052      * is the default).
00053      */
00054     CdcExceptionFile (const CdcString& msg, t_exception_num code = DC_FILE_EXP);
00055 };
00056 
00057 #endif /* __CDC_EXCEPTION_FILE */

Generated on Mon Oct 11 2010 16:23:23 for Beesnest by  doxygen 1.7.2