Oracle Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.2)

E26041-01

coherence/lang/NoSuchMethodException.hpp

00001 /*
00002 * NoSuchMethodException.hpp
00003 *
00004 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
00005 *
00006 * Oracle is a registered trademarks of Oracle Corporation and/or its
00007 * affiliates.
00008 *
00009 * This software is the confidential and proprietary information of Oracle
00010 * Corporation. You shall not disclose such confidential and proprietary
00011 * information and shall use it only in accordance with the terms of the
00012 * license agreement you entered into with Oracle.
00013 *
00014 * This notice may not be removed or altered.
00015 */
00016 #ifndef COH_NO_SUCH_METHOD_EXCEPTION_HPP
00017 #define COH_NO_SUCH_METHOD_EXCEPTION_HPP
00018 
00019 #include "coherence/lang/compatibility.hpp"
00020 
00021 #include "coherence/lang/Exception.hpp"
00022 
00023 COH_OPEN_NAMESPACE2(coherence,lang)
00024 
00025 
00026 /**
00027 * Thrown when a definition for a named Method could be found.
00028 *
00029 * @author mf  20011.02.25
00030 */
00031 class COH_EXPORT NoSuchMethodException
00032     : public throwable_spec<NoSuchMethodException,
00033         extends<Exception, std::invalid_argument> >
00034     {
00035     friend class factory<NoSuchMethodException>;
00036 
00037     // ----- constructors ---------------------------------------------------
00038 
00039     protected:
00040         /**
00041         * Create an NoSuchMethodException.
00042         *
00043         * @param vsMsg   the error description
00044         * @param vCause  the underlying cause of the exception;
00045         *                can be <tt>NULL</tt>
00046         *
00047         * @return a Handle to the created Exception
00048         */
00049         NoSuchMethodException(String::View vsMsg = String::null_string,
00050                 Exception::View vCause = NULL);
00051     };
00052 
00053 COH_CLOSE_NAMESPACE2
00054 
00055 #endif // COH_NO_SUCH_METHOD_EXCEPTION_HPP
Copyright © 2000, 2013, Oracle and/or its affiliates. All rights reserved.