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

#include <j/lang/throwable.hpp>
#include <j/lang/string.hpp>

namespace j
{
    namespace util
    {

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

            // コンストラクタ
            NoSuchElementException(const j::lang::String &msg) noexcept;

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

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

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

    } // namespace util
} // namespace j

#endif // J_UTIL_NO_SUCH_ELEMENT_EXCEPTION_HPP