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

E80355-01

coherence/net/UnknownHostException.hpp

00001 /*
00002 * UnknownHostException.hpp
00003 *
00004 * Copyright (c) 2000, 2017, 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_UNKNOWN_HOST_EXCEPTION_HPP
00017 #define COH_UNKNOWN_HOST_EXCEPTION_HPP
00018 
00019 #include "coherence/lang.ns"
00020 
00021 #include "coherence/io/IOException.hpp"
00022 
00023 COH_OPEN_NAMESPACE2(coherence,net)
00024 
00025 using coherence::io::IOException;
00026 
00027 
00028 /**
00029 * UnknownHostException is thrown as a result of a failed hostname resolution.
00030 *
00031 * @author mf  2008.03.17
00032 */
00033 class COH_EXPORT UnknownHostException
00034     : public throwable_spec<UnknownHostException,
00035         extends<IOException> >
00036     {
00037     friend class factory<UnknownHostException>;
00038 
00039     // ----- constructors ---------------------------------------------------
00040 
00041     protected:
00042         /**
00043         * Create an UnknownHostException.
00044         *
00045         * @param vsMsg   the detail message
00046         * @param vCause  the underlying cause of the exception
00047         *
00048         * @return a new UnknownHostException
00049         */
00050         UnknownHostException(String::View vsMsg = String::null_string,
00051                 Exception::View vCause = NULL);
00052     };
00053 
00054 COH_CLOSE_NAMESPACE2
00055 
00056 #endif // COH_UNKNOWN_HOST_EXCEPTION_HPP
Copyright © 2000, 2017, Oracle and/or its affiliates. All rights reserved.