15 #if !defined(Magick_Exception_header)
16 #define Magick_Exception_header
18 #include "Magick++/Include.h"
24 class MagickPPExport
Exception:
public std::exception
44 virtual const char* what()
const throw();
69 explicit Error(
const std::string& what_);
77 explicit ErrorBlob(
const std::string& what_);
125 explicit ErrorDraw(
const std::string& what_);
141 explicit ErrorImage(
const std::string& what_);
213 explicit ErrorType(
const std::string& what_);
241 explicit Warning(
const std::string& what_);
411 std::string formatExceptionMessage(
412 const MagickCore::ExceptionInfo *exception_);
414 Exception* createException(
const MagickCore::ExceptionInfo *exception_);
417 extern MagickPPExport
void throwExceptionExplicit(
418 const MagickCore::ExceptionType severity_,
const char* reason_,
419 const char* description_=(
char *) NULL);
422 extern MagickPPExport
void throwException(
423 MagickCore::ExceptionInfo *exception_,
const bool quiet_=
false);
427 #endif // Magick_Exception_header