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

E80355-01

coherence/lang/SecurityException.hpp

00001 /*
00002 * SecurityException.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_SECURITY_EXCEPTION_HPP
00017 #define COH_SECURITY_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 * Thrown to indicate a security violation.
00029 */
00030 class COH_EXPORT SecurityException
00031     : public throwable_spec<SecurityException,
00032         extends<RuntimeException> >
00033     {
00034     friend class factory<SecurityException>;
00035 
00036     // ----- constructors ---------------------------------------------------
00037 
00038     protected:
00039         /**
00040         * Create a SecurityException.
00041         *
00042         * @param vsMsg   the detail message
00043         * @param vCause  the underlying cause of the exception
00044         */
00045         SecurityException(String::View vsMsg = String::null_string,
00046                 Exception::View vCause = NULL);
00047     };
00048 
00049 COH_CLOSE_NAMESPACE2
00050 
00051 #endif // COH_SECURITY_EXCEPTION_HPP
Copyright © 2000, 2017, Oracle and/or its affiliates. All rights reserved.