00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 #ifndef COH_INDEX_OUT_OF_BOUNDS_EXCEPTION_HPP
00017 #define COH_INDEX_OUT_OF_BOUNDS_EXCEPTION_HPP
00018 
00019 #include "coherence/lang/compatibility.hpp"
00020 
00021 #include "coherence/lang/RuntimeException.hpp"
00022 #include "coherence/lang/String.hpp"
00023 
00024 COH_OPEN_NAMESPACE2(coherence,lang)
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 class COH_EXPORT IndexOutOfBoundsException
00034     : public throwable_spec<IndexOutOfBoundsException,
00035         extends<RuntimeException, std::out_of_range> >
00036     {
00037     friend class factory<IndexOutOfBoundsException>;
00038 
00039     
00040 
00041     protected:
00042 
00043 
00044 
00045 
00046 
00047 
00048         IndexOutOfBoundsException(String::View vsMsg = String::NULL_STRING,
00049                 Exception::View vCause = NULL);
00050     };
00051 
00052 COH_CLOSE_NAMESPACE2
00053 
00054 #endif // COH_INDEX_OUT_OF_BOUNDS_EXCEPTION_HPP