C++ Client API Reference for Oracle Coherence
14c (14.1.2.0.0)

F79659-03

coherence/io/UTFDataFormatException.hpp

00001 /*
00002  * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
00003  *
00004  * Licensed under the Universal Permissive License v 1.0 as shown at
00005  * http://oss.oracle.com/licenses/upl.
00006  */
00007 #ifndef COH_UTF_DATA_FORMAT_EXCEPTION_HPP
00008 #define COH_UTF_DATA_FORMAT_EXCEPTION_HPP
00009 
00010 #include "coherence/lang.ns"
00011 
00012 #include "coherence/io/IOException.hpp"
00013 
00014 COH_OPEN_NAMESPACE2(coherence,io)
00015 
00016 
00017 /**
00018 * Signals that a malformed UTF-8 string has been read in a data input stream.
00019 *
00020 * @author jh  2007.12.31
00021 */
00022 class COH_EXPORT UTFDataFormatException
00023     : public throwable_spec<UTFDataFormatException,
00024         extends<IOException> >
00025     {
00026     friend class factory<UTFDataFormatException>;
00027 
00028     // ----- constructors ---------------------------------------------------
00029 
00030     protected:
00031         /**
00032         * Create an UTFDataFormatException.
00033         *
00034         * @param vsMsg   the detail message
00035         * @param vCause  the underlying cause of the exception
00036         *
00037         * @return a new UTFDataFormatException
00038         */
00039         UTFDataFormatException(String::View vsMsg = String::null_string,
00040                 Exception::View vCause = NULL);
00041     };
00042 
00043 COH_CLOSE_NAMESPACE2
00044 
00045 #endif // COH_UTF_DATA_FORMAT_EXCEPTION_HPP
Copyright © 2000, 2025, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.