![]() |
The Simons
|
00001 00002 // 00003 // SCL : Simons Component Library 00004 // 00006 // 00007 // Filename: MethodErrorID.h 00008 // Contents: MethodErrorID pointer 00009 // Author: Anthony J H Simons 00010 // Revised: 29 November 2005 00011 00012 // This software is distributed free in the hope that others will 00013 // find it useful. However, it comes WITHOUT ANY WARRANTY. No 00014 // liability can be accepted for software failure, merchantability 00015 // or fitness for a particular purpose. You can redistribute this 00016 // software in its original form, or in a modified form, provided 00017 // that this disclaimer is retained in the file banner. 00018 00019 #ifndef SCL_METHOD_ERROR_ID 00020 #define SCL_METHOD_ERROR_ID 00021 00022 #include "ExceptionID.h" 00023 00024 class MethodError; 00025 00034 00035 class MethodErrorID : public ExceptionID { 00036 public: 00037 MethodErrorID(); 00038 ~MethodErrorID(); 00039 MethodErrorID(const Null*); 00040 MethodErrorID(const MethodError*); 00041 MethodErrorID(const MethodErrorID&); 00042 MethodErrorID& operator=(const MethodError*); 00043 MethodErrorID& operator=(const MethodErrorID&); 00044 MethodError* operator->() const; 00045 }; 00046 00047 #endif