Newer
Older
libj / include / j / lang / runtime_exception.hpp
Nomura Kei on 9 Jun 1022 bytes first commit
/**
 * @file runtime_exception.hpp
 * @brief J Library RuntimeException ヘッダファイル。
 * @copyright  2001 - 2024  Nomura Kei
 * @depends
 *   j/lang/throwable.hpp
 */
#ifndef J_LANG_RUNTIME_EXCEPTION_HPP
#define J_LANG_RUNTIME_EXCEPTION_HPP

#include <j/lang/throwable.hpp>

namespace j
{
    namespace lang
    {

        class RuntimeException : public Throwable
        {
        public:
            // デフォルトコンストラクタ
            RuntimeException() noexcept;

            // コンストラクタ
            RuntimeException(const String &msg) noexcept;

            // コピーコンストラクタ
            RuntimeException(const RuntimeException &t) noexcept;

            // ムーブコンストラクタ
            RuntimeException(RuntimeException &&t) noexcept;

            // デストラクタ
            ~RuntimeException() noexcept;
        };

    } // namespace lang
} // namespace j

#endif // J_LANG_RUNTIME_EXCEPTION_HPP