PageNotFoundException Class Reference

#include <exceptions.h>

Inheritance diagram for PageNotFoundException:
PdfException

List of all members.

Public Member Functions

 PageNotFoundException ()
 PageNotFoundException (size_t pos)
virtual ~PageNotFoundException () throw ()
virtual const char * what () const throw ()
void getPosition (size_t &pos)

Private Attributes

size_t position
std::string message

Detailed Description

Exception is thrown when no page at postion can be found.


Constructor & Destructor Documentation

PageNotFoundException::PageNotFoundException (  )  [inline]

Exception constructor without position specified. This exception should be called when page is searched by CPage instance.

PageNotFoundException::PageNotFoundException ( size_t  pos  )  [inline]

Exception constructor.

Parameters:
pos Postion which couldn't be found.

References message.

virtual PageNotFoundException::~PageNotFoundException (  )  throw () [inline, virtual]

Member Function Documentation

void PageNotFoundException::getPosition ( size_t &  pos  )  [inline]

References position.

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

References message.


Member Data Documentation

std::string PageNotFoundException::message [private]

Referenced by PageNotFoundException(), and what().

Referenced by getPosition().


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