Public Member Functions | Protected Member Functions | Private Attributes

YAPET::YAPETException Class Reference

The exception class used for cryptographic classes. More...

#include <yapetexception.h>

Inheritance diagram for YAPET::YAPETException:
Inheritance graph
[legend]
Collaboration diagram for YAPET::YAPETException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

EXNUM getExNum () const throw ()
const YAPETExceptionoperator= (const YAPETException &ex) throw ()
virtual const char * what () const throw ()
 YAPETException (std::string msg, EXNUM n) throw ()
 YAPETException (const YAPETException &ex) throw ()
 YAPETException (std::string msg) throw ()
 Initializes with a user specified message.
 YAPETException () throw ()
 Initializes a default exception message.
virtual ~YAPETException () throw ()

Protected Member Functions

void setExNum (EXNUM n)

Private Attributes

EXNUM exnum
std::string message

Detailed Description

Modified in version 0.6.

The exception base class used for cryptographic classes.

Definition at line 74 of file yapetexception.h.


Constructor & Destructor Documentation

YAPET::YAPETException::YAPETException (  )  throw () [inline]

Initializes a default exception message

Definition at line 87 of file yapetexception.h.

YAPET::YAPETException::YAPETException ( std::string  msg  )  throw () [inline]

Initializes with a user specified message

Parameters:
msg the message of the exception

Definition at line 98 of file yapetexception.h.

YAPET::YAPETException::YAPETException ( std::string  msg,
EXNUM  n 
) throw () [inline]

Definition at line 101 of file yapetexception.h.

YAPET::YAPETException::YAPETException ( const YAPETException ex  )  throw () [inline]

Definition at line 104 of file yapetexception.h.

References exnum, and message.

virtual YAPET::YAPETException::~YAPETException (  )  throw () [inline, virtual]

Definition at line 108 of file yapetexception.h.


Member Function Documentation

EXNUM YAPET::YAPETException::getExNum (  )  const throw () [inline]

Definition at line 120 of file yapetexception.h.

References exnum.

const YAPETException& YAPET::YAPETException::operator= ( const YAPETException ex  )  throw () [inline]

Definition at line 109 of file yapetexception.h.

References exnum, and message.

void YAPET::YAPETException::setExNum ( EXNUM  n  )  [inline, protected]

Definition at line 80 of file yapetexception.h.

References exnum.

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

Member Data Documentation

Definition at line 76 of file yapetexception.h.

Referenced by getExNum(), operator=(), setExNum(), and YAPETException().

std::string YAPET::YAPETException::message [private]

Definition at line 77 of file yapetexception.h.

Referenced by operator=(), what(), and YAPETException().


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