Use noexcept directly, C++ 14 is required anyways
This commit is contained in:
parent
2e65843687
commit
fbd43b86e9
|
@ -9,14 +9,15 @@ namespace Io {
|
||||||
/*!
|
/*!
|
||||||
* \brief Constructs a crypto exception.
|
* \brief Constructs a crypto exception.
|
||||||
*/
|
*/
|
||||||
CryptoException::CryptoException(const std::string &openSslErrorQueue) USE_NOTHROW : runtime_error(openSslErrorQueue)
|
CryptoException::CryptoException(const std::string &openSslErrorQueue) noexcept
|
||||||
|
: runtime_error(openSslErrorQueue)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Destroys the exception.
|
* \brief Destroys the exception.
|
||||||
*/
|
*/
|
||||||
CryptoException::~CryptoException() USE_NOTHROW
|
CryptoException::~CryptoException() noexcept
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,8 @@ namespace Io {
|
||||||
|
|
||||||
class PASSWORD_FILE_EXPORT CryptoException : public std::runtime_error {
|
class PASSWORD_FILE_EXPORT CryptoException : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
CryptoException(const std::string &openSslErrorQueue) USE_NOTHROW;
|
CryptoException(const std::string &openSslErrorQueue) noexcept;
|
||||||
virtual ~CryptoException() USE_NOTHROW;
|
~CryptoException() noexcept;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,14 +10,15 @@ namespace Io {
|
||||||
/*!
|
/*!
|
||||||
* \brief Constructs a parsing exception.
|
* \brief Constructs a parsing exception.
|
||||||
*/
|
*/
|
||||||
ParsingException::ParsingException(const std::string &message) USE_NOTHROW : runtime_error(message)
|
ParsingException::ParsingException(const std::string &message) noexcept
|
||||||
|
: runtime_error(message)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Destroys the exception.
|
* \brief Destroys the exception.
|
||||||
*/
|
*/
|
||||||
ParsingException::~ParsingException() USE_NOTHROW
|
ParsingException::~ParsingException() noexcept
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,8 @@ namespace Io {
|
||||||
|
|
||||||
class PASSWORD_FILE_EXPORT ParsingException : public std::runtime_error {
|
class PASSWORD_FILE_EXPORT ParsingException : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
ParsingException(const std::string &message = std::string()) USE_NOTHROW;
|
ParsingException(const std::string &message = std::string()) noexcept;
|
||||||
virtual ~ParsingException() USE_NOTHROW;
|
~ParsingException() noexcept;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue