MalformedFormatExeption Class Reference

#include <exceptions.h>

Inheritance diagram for MalformedFormatExeption:
PdfException

List of all members.

Public Member Functions

 MalformedFormatExeption (std::string msg)
virtual ~MalformedFormatExeption () throw ()
virtual const char * what () const throw ()
void getMessage (std::string &msg)

Private Attributes

const std::string message

Detailed Description

Exception is thrown when pdf structure doesn't confirm to PDF specification required for operation.

TODO include also cause exception


Constructor & Destructor Documentation

MalformedFormatExeption::MalformedFormatExeption ( std::string  msg  )  [inline]
virtual MalformedFormatExeption::~MalformedFormatExeption (  )  throw () [inline, virtual]

Member Function Documentation

void MalformedFormatExeption::getMessage ( std::string &  msg  )  [inline]

Gets message from exception.

Parameters:
msg String where to set message.

References message.

virtual const char* MalformedFormatExeption::what (  )  const throw () [inline, virtual]

References message.


Member Data Documentation

const std::string MalformedFormatExeption::message [private]

Referenced by getMessage(), and what().


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