00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_NO_SUCH_ELEMENT_EXCEPTION_HPP
00017 #define COH_NO_SUCH_ELEMENT_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
00034
00035
00036
00037
00038 class COH_EXPORT NoSuchElementException
00039 : public throwable_spec<NoSuchElementException,
00040 extends<RuntimeException, std::logic_error> >
00041 {
00042 friend class factory<NoSuchElementException>;
00043
00044
00045
00046 protected:
00047
00048
00049
00050
00051
00052
00053 NoSuchElementException(String::View vsMsg = String::NULL_STRING,
00054 Exception::View vCause = NULL);
00055 };
00056
00057 COH_CLOSE_NAMESPACE2
00058
00059 #endif // COH_NO_SUCH_ELEMENT_EXCEPTION_HPP
Copyright (c) 2000-2008 Oracle. All rights reserved.