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

Exception from the compressor component. More...

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

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

Public Member Functions

Construction
template<typename... Args>
 Exception (std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Crypto.Compressor.
 
 Exception (std::string_view message)
 Plain message under StormByte.Crypto.Compressor.
 
 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>
 Exception (std::format_string< Args... > fmt, Args &&... args)
 Format 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 () noexcept override
 Destructor.
 
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 Safe::String &message)
 
 Exception (std::format_string< Args... > fmt, Args &&... args)
 
 Exception (const Exception &e)=default
 
 Exception (Exception &&e) noexcept=default
 
Exception & operator= (const Exception &e)=default
 
Exception & operator= (Exception &&e) noexcept=default
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from StormByte::Crypto::Exception
template<typename... Args>
 Exception (Path child, std::format_string< Args... > fmt, Args &&... args)
 Format under StormByte.Crypto plus the child segment.
 
 Exception (Path child, std::string_view message)
 Plain message under StormByte.Crypto plus the child segment.
 
- Protected Member Functions inherited from StormByte::Exception
 Exception (Path path, std::format_string< Args... > fmt, Args &&... args)
 

Detailed Description

Exception from the compressor component.

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

Constructor & Destructor Documentation

◆ Exception() [1/4]

template<typename... Args>
StormByte::Crypto::Compressor::Exception::Exception ( std::format_string< Args... >  fmt,
Args &&...  args 
)
inlineexplicit

Format under StormByte.Crypto.Compressor.

Template Parameters
ArgsFormat argument types.
Parameters
fmtFormat string.
argsFormat arguments.

◆ Exception() [2/4]

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

Plain message under StormByte.Crypto.Compressor.

Parameters
messageException text. Not a format string.

◆ Exception() [3/4]

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

Copy constructor.

Parameters
otherException to copy.

◆ Exception() [4/4]

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

Move constructor.

Parameters
otherException to move.

◆ ~Exception()

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

Destructor.

Defined in this module so catch matches across a DLL.

Reimplemented from StormByte::Exception.

Member Function Documentation

◆ operator=() [1/2]

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

Copy assignment.

Parameters
otherException to copy.
Returns
Reference to this exception.

◆ operator=() [2/2]

Exception & StormByte::Crypto::Compressor::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: