steghide 0.5.1
Public Member Functions | List of all members
CorruptDataError Class Reference

is thrown as exception when corrupt data is encountered during extraction More...

#include <error.h>

Inheritance diagram for CorruptDataError:
SteghideError MessageBase

Public Member Functions

 CorruptDataError (const char *msgfmt,...)
 
void printMessage (void) const
 
- Public Member Functions inherited from SteghideError
 SteghideError (void)
 
 SteghideError (std::string msg)
 
 SteghideError (const char *msgfmt,...)
 
virtual void printMessage (void) const
 
- Public Member Functions inherited from MessageBase
 MessageBase (void)
 
 MessageBase (std::string msg)
 
 MessageBase (const char *msgfmt,...)
 
virtual ~MessageBase ()
 
const std::string & getMessage (void) const
 
void setMessage (std::string msg)
 
void setNewline (bool prnl)
 
const std::string getNewline (void) const
 
void setMessage (const char *msgfmt,...)
 
virtual void printMessage (void) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from MessageBase
std::string compose (const char *msgfmt,...) const
 
std::string vcompose (const char *msgfmt, va_list ap) const
 
- Static Protected Attributes inherited from MessageBase
static const unsigned int MsgMaxSize = 512
 

Detailed Description

A possible cause of this exception being thrown is a wrong password.

Constructor & Destructor Documentation

◆ CorruptDataError()

CorruptDataError::CorruptDataError ( const char *  msgfmt,
  ... 
)

Member Function Documentation

◆ printMessage()

void CorruptDataError::printMessage ( void  ) const
virtual

Reimplemented from SteghideError.


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