AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
anch::crypto::InvalidBlockException Class Reference

Exception on receiving an invalid block. More...

#include <invalidBlockException.hpp>

+ Inheritance diagram for anch::crypto::InvalidBlockException:
+ Collaboration diagram for anch::crypto::InvalidBlockException:

Public Member Functions

 InvalidBlockException (const std::string &message)
 
virtual ~InvalidBlockException () noexcept
 
virtual const char * what () const noexcept override
 

Detailed Description

Exception on receiving an invalid block.

InvalidBlockException can be thrown on decipher a block or a stream.
Blocks have fixed size. The cipher result will always have complete number of block.

Since
0.1
Author
Vincent Lachenal

Constructor & Destructor Documentation

◆ InvalidBlockException()

anch::crypto::InvalidBlockException::InvalidBlockException ( const std::string & message)

InvalidBlockException constructor

Parameters
messagethe error message

◆ ~InvalidBlockException()

virtual anch::crypto::InvalidBlockException::~InvalidBlockException ( )
virtualnoexcept

Member Function Documentation

◆ what()

virtual const char * anch::crypto::InvalidBlockException::what ( ) const
overridevirtualnoexcept

Returns error cause (message).

Returns
the error cause
+ Here is the call graph for this function:

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