Newer
Older
libj / include / j / lang / illegal_argument_exception.hpp
/**
 * @file illegal_argument_exception.hpp
 * @brief J Library IllegalArgumentException ヘッダファイル。
 * @copyright  2001 - 2024  Nomura Kei
 * @depends
 *   j/lang/throwable.hpp
 */
#ifndef J_LANG_ILLEGAL_ARGUMENT_EXCEPTION_HPP
#define J_LANG_ILLEGAL_ARGUMENT_EXCEPTION_HPP

#include <j/lang/runtime_exception.hpp>

namespace j
{
    namespace lang
    {

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

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

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

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

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

    } // namespace lang
} // namespace j

#endif // J_LANG_ILLEGAL_ARGUMENT_EXCEPTION_HPP