Arkulib
include
Exceptions
NumberTooLargeException.hpp
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <stdexcept>
12
13
namespace
Arkulib::Exceptions
{
17
class
NumberTooLargeException
:
public
std::overflow_error {
18
public
:
19
inline
NumberTooLargeException
() : std::overflow_error(
20
"The given integer type doesn't have the capacity to store the rational."
) {}
21
};
22
}
Arkulib::Exceptions::NumberTooLargeException
An exception to handle a rational who can't be expressed by the given type.
Definition:
NumberTooLargeException.hpp:17
Arkulib::Exceptions::NumberTooLargeException::NumberTooLargeException
NumberTooLargeException()
Definition:
NumberTooLargeException.hpp:19
Arkulib::Exceptions
Definition:
DigitsTooLargeException.hpp:13
Generated by
1.9.5