AnCH Framework  0.1
Another C++ Hack Framework
Public Member Functions | List of all members
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 noexceptoverride
 

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::InvalidBlockException ( const std::string &  message)

InvalidBlockException constructor

Parameters
messagethe error message
InvalidBlockException::~InvalidBlockException ( )
virtualnoexcept

Member Function Documentation

const char * InvalidBlockException::what ( ) const
overridevirtualnoexcept

Returns error cause (message).

Returns
the error cause

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