00001 
00002 
00003 
00004 
00005 
00006 
00007 #ifndef COH_CONST_CAST_EXCEPTION
00008 #define COH_CONST_CAST_EXCEPTION
00009 
00010 #include "coherence/lang/compatibility.hpp"
00011 
00012 #include "coherence/lang/ClassCastException.hpp"
00013 
00014 COH_OPEN_NAMESPACE2(coherence,lang)
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 class COH_EXPORT ConstCastException
00024     : public throwable_spec<ConstCastException,
00025         extends<ClassCastException> >
00026     {
00027     friend class factory<ConstCastException>;
00028 
00029     
00030 
00031     protected:
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039         ConstCastException(String::View vsMessage = String::null_string,
00040                 Exception::View vCause = NULL);
00041     };
00042 
00043 COH_CLOSE_NAMESPACE2
00044 
00045 #endif // COH_CONST_CAST_EXCEPTION