coherence/lang/CloneNotSupportedException.hpp

00001 /*
00002 * CloneNotSupportedException.hpp
00003 *
00004 * Copyright 2001-2008 by Oracle. 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_CLONE_NOT_SUPPORTED_EXCEPTION_HPP
00017 #define COH_CLONE_NOT_SUPPORTED_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 class COH_EXPORT CloneNotSupportedException
00027     : public throwable_spec<CloneNotSupportedException,
00028         extends<Exception> >
00029     {
00030     friend class factory<CloneNotSupportedException>;
00031 
00032     // ----- constructors ---------------------------------------------------
00033 
00034     protected:
00035         /**
00036         * Create a CloneNotSupportedException.
00037         *
00038         * @param vsMsg   the detail message
00039         * @param vCause  the underlying cause of the exception
00040         *
00041         * @return a new CloneNotSupportedException
00042         */
00043         CloneNotSupportedException(String::View vsMsg = String::NULL_STRING,
00044                 Exception::View vCause = NULL);
00045     };
00046 
00047 COH_CLOSE_NAMESPACE2
00048 
00049 #endif //COH_CLONE_NOT_SUPPORTED_EXCEPTION_HPP
Copyright (c) 2000-2008 Oracle. All rights reserved.