Newer
Older
libj / j / lang / src / runtime_exception.cpp
#include <j/lang/runtime_exception.hpp>

namespace j
{
    namespace lang
    {
        /**
         * RuntimeException を構築します。
         */
        RuntimeException::RuntimeException() noexcept : Throwable()
        {
            // NOP
        }

        /**
         * RuntimeException を構築します。
         *
         * @param msg メッセージ
         */
        RuntimeException::RuntimeException(const String &msg) noexcept : Throwable(msg)
        {
            // NOP
        }

        /**
         * RuntimeException のコピーコンストラクタ。
         *
         * @param t コピー元 RuntimeException
         */
        RuntimeException::RuntimeException(const RuntimeException &t) noexcept : Throwable(t)
        {
            // NOP
        }

        /**
         * RuntimeException のムーブコンストラクタ。
         *
         * @param str ムーブ元 String
         */
        RuntimeException::RuntimeException(RuntimeException &&t) noexcept : Throwable(std::move(t))
        {
            // NOP
        }

        /**
         * デストラクタ。
         */
        RuntimeException::~RuntimeException() noexcept
        {
            // NOP
        }

    } // namespace lang
} // namespace j