StormByte-Crypto 3.1.0
C++26 cryptography module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Crypto::Hasher::Exception Class Reference

Exception from the hasher component. More...

#include <StormByte/crypto/hasher/exception.hxx>

Inheritance diagram for StormByte::Crypto::Hasher::Exception:
Collaboration diagram for StormByte::Crypto::Hasher::Exception:

Public Member Functions

Construction
template<typename... Args>
requires (sizeof...(Args) >= 1)
 Exception (std::string_view pattern, Args &&... args)
 Replace literal {} under StormByte.Crypto.Hasher.
 Exception (std::string_view message)
 Plain message under StormByte.Crypto.Hasher.
 Exception (const Exception &other)
 Copy constructor.
 Exception (Exception &&other) noexcept
 Move constructor.
 ~Exception () noexcept override
 Destructor.
Exception & operator= (const Exception &other)
 Copy assignment.
Exception & operator= (Exception &&other) noexcept
 Move assignment.
Public Member Functions inherited from StormByte::Crypto::Exception
template<typename... Args>
requires (sizeof...(Args) >= 1)
 Exception (std::string_view pattern, Args &&... args)
 Replace literal {} under StormByte.Crypto.
 Exception (std::string_view message)
 Plain message under StormByte.Crypto.
 Exception (const Exception &other)
 Copy constructor.
 Exception (Exception &&other) noexcept
 Move constructor.
Exception & operator= (const Exception &other)
 Copy assignment.
Exception & operator= (Exception &&other) noexcept
 Move assignment.
Public Member Functions inherited from StormByte::Exception
 Exception (std::string_view message)
 Exception (const Exception &other)
 Exception (Exception &&other) noexcept
Exception & operator= (const Exception &other)
Exception & operator= (Exception &&other) noexcept
virtual const char * what () const noexcept

Additional Inherited Members

Protected Member Functions inherited from StormByte::Crypto::Exception
template<typename... Args>
requires (sizeof...(Args) >= 1)
 Exception (StormByte::Exception::Path child, std::string_view pattern, Args &&... args)
 Replace literal {} under StormByte.Crypto plus the child segment.
 Exception (StormByte::Exception::Path child, std::string_view message)
 Plain message under StormByte.Crypto plus the child segment.
Protected Member Functions inherited from StormByte::Exception
 Exception () noexcept
 Exception (Path path, std::string_view message)
 Exception (Path path, Safe::String &&message)
 Exception (Path path, std::string_view pattern, Args &&... args)

Detailed Description

Exception from the hasher component.

what() is StormByte.Crypto.Hasher: message.

Constructor & Destructor Documentation

◆ Exception() [1/4]

template<typename... Args>
requires (sizeof...(Args) >= 1)
StormByte::Crypto::Hasher::Exception::Exception ( std::string_view pattern,
Args &&... args )
inlineexplicit

Replace literal {} under StormByte.Crypto.Hasher.

Template Parameters
ArgsViews, numbers, or types that convert to std::string. A number uses std::to_string.
Parameters
patternBody with literal {} tokens. Not a std::format string.
argsReplacements. One per token, in order.

◆ Exception() [2/4]

StormByte::Crypto::Hasher::Exception::Exception ( std::string_view message)
inlineexplicit

Plain message under StormByte.Crypto.Hasher.

Parameters
messageException text. Not a format string.

◆ Exception() [3/4]

StormByte::Crypto::Hasher::Exception::Exception ( const Exception & other)

Copy constructor.

Parameters
otherException to copy.

◆ Exception() [4/4]

StormByte::Crypto::Hasher::Exception::Exception ( Exception && other)
noexcept

Move constructor.

Parameters
otherException to move.

◆ ~Exception()

StormByte::Crypto::Hasher::Exception::~Exception ( )
overridevirtualnoexcept

Destructor.

Defined in this module so catch matches across a DLL.

Reimplemented from StormByte::Crypto::Exception.

Member Function Documentation

◆ operator=() [1/2]

Exception & StormByte::Crypto::Hasher::Exception::operator= ( const Exception & other)

Copy assignment.

Parameters
otherException to copy.
Returns
Reference to this exception.

◆ operator=() [2/2]

Exception & StormByte::Crypto::Hasher::Exception::operator= ( Exception && other)
noexcept

Move assignment.

Parameters
otherException to move.
Returns
Reference to this exception.

The documentation for this class was generated from the following file: