Magick++ 7.1.2-32
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
Magick::Exception Class Reference
Inheritance diagram for Magick::Exception:
Magick::Error Magick::Warning Magick::ErrorBlob Magick::ErrorCache Magick::ErrorCoder Magick::ErrorConfigure Magick::ErrorCorruptImage Magick::ErrorDelegate Magick::ErrorDraw Magick::ErrorFileOpen Magick::ErrorImage Magick::ErrorMissingDelegate Magick::ErrorModule Magick::ErrorMonitor Magick::ErrorOption Magick::ErrorPolicy Magick::ErrorRegistry Magick::ErrorResourceLimit Magick::ErrorStream Magick::ErrorType Magick::ErrorUndefined Magick::ErrorXServer Magick::WarningBlob Magick::WarningCache Magick::WarningCoder Magick::WarningConfigure Magick::WarningCorruptImage Magick::WarningDelegate Magick::WarningDraw Magick::WarningFileOpen Magick::WarningImage Magick::WarningMissingDelegate Magick::WarningModule Magick::WarningMonitor Magick::WarningOption Magick::WarningPolicy Magick::WarningRegistry Magick::WarningResourceLimit Magick::WarningStream Magick::WarningType Magick::WarningUndefined Magick::WarningXServer

Public Member Functions

 Exception (const std::string &what_)
 Exception (const std::string &what_, Exception *nested_)
 Exception (const Exception &original_)
Exception & operator= (const Exception &original_)
virtual const char * what () const throw ()
const Exception * nested () const throw ()
void nested (Exception *nested_) throw ()

Private Attributes

std::string _what
Exception * _nested

Detailed Description

Definition at line 24 of file Exception.h.

Constructor & Destructor Documentation

◆ Exception() [1/3]

Magick::Exception::Exception ( const std::string & what_)

Definition at line 20 of file Exception.cpp.

21 : std::exception(),
22 _what(what_),
23 _nested((Exception *) NULL)
24{
25}

◆ Exception() [2/3]

Magick::Exception::Exception ( const std::string & what_,
Exception * nested_ )

Definition at line 27 of file Exception.cpp.

29 : std::exception(),
30 _what(what_),
31 _nested(nested_)
32{
33}

◆ Exception() [3/3]

Magick::Exception::Exception ( const Exception & original_)

Definition at line 35 of file Exception.cpp.

36 : exception(original_),
37 _what(original_._what),
38 _nested((Exception *) NULL)
39{
40}

◆ ~Exception()

Magick::Exception::~Exception ( )
throw ( )
virtual

Definition at line 42 of file Exception.cpp.

43{
44 delete _nested;
45}

Member Function Documentation

◆ nested() [1/2]

const Magick::Exception * Magick::Exception::nested ( ) const
throw ( )

Definition at line 60 of file Exception.cpp.

61{
62 return(_nested);
63}

◆ nested() [2/2]

void Magick::Exception::nested ( Exception * nested_)
throw ( )

Definition at line 65 of file Exception.cpp.

66{
67 _nested=nested_;
68}

◆ operator=()

Magick::Exception & Magick::Exception::operator= ( const Exception & original_)

Definition at line 47 of file Exception.cpp.

49{
50 if (this != &original_)
51 this->_what=original_._what;
52 return(*this);
53}

◆ what()

const char * Magick::Exception::what ( ) const
throw ( )
virtual

Definition at line 55 of file Exception.cpp.

56{
57 return(_what.c_str());
58}

Field Documentation

◆ _nested

Exception* Magick::Exception::_nested
private

Definition at line 59 of file Exception.h.

◆ _what

std::string Magick::Exception::_what
private

Definition at line 58 of file Exception.h.


The documentation for this class was generated from the following files:
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Magick++/Exception.h
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Exception.cpp