|
bpp-core
2.2.0
|
Wrong size exception class. More...
#include <Bpp/Exceptions.h>
Inheritance diagram for bpp::BadSizeException:
Collaboration diagram for bpp::BadSizeException:Public Member Functions | |
| BadSizeException (const std::string &text, size_t badSize, size_t correctSize) | |
| Build a new BadSizeException. More... | |
| virtual | ~BadSizeException () throw () |
| size_t | getBadSize () const |
| size_t | getCorrectSize () const |
| const char * | what () const throw () |
| Method to get the message of the exception (STL method redefinition). More... | |
Protected Attributes | |
| size_t | badSize_ |
| size_t | correctSize_ |
| std::string | message_ |
Wrong size exception class.
Definition at line 334 of file Exceptions.h.
| BadSizeException::BadSizeException | ( | const std::string & | text, |
| size_t | badSize, | ||
| size_t | correctSize | ||
| ) |
Build a new BadSizeException.
| text | A message to be passed to the exception hierarchy. |
| badSize | The faulty size. |
| correctSize | The expected size. |
Definition at line 96 of file Exceptions.cpp.
|
inlinevirtual | |||||||||||||
Definition at line 351 of file Exceptions.h.
|
inline |
Definition at line 355 of file Exceptions.h.
References badSize_.
|
inline |
Definition at line 356 of file Exceptions.h.
References correctSize_.
|
inlineinherited | |||||||||||||
Method to get the message of the exception (STL method redefinition).
Definition at line 87 of file Exceptions.h.
References bpp::Exception::message_.
|
protected |
Definition at line 338 of file Exceptions.h.
Referenced by getBadSize().
|
protected |
Definition at line 338 of file Exceptions.h.
Referenced by getCorrectSize().
|
protectedinherited |
Definition at line 61 of file Exceptions.h.
Referenced by bpp::Exception::what().