Go to the source code of this file.
|
#define | ThrowBinaryException(severity, tag, context) |
|
#define | ThrowBinaryImageException(severity, tag, context) |
|
#define | ThrowFatalException(severity, tag) |
|
#define | ThrowFileException(exception, severity, tag, context) |
|
#define | ThrowImageException(severity, tag) |
|
#define | ThrowReaderException(severity, tag) |
|
#define | ThrowWriterException(severity, tag) |
|
◆ ThrowBinaryException
#define ThrowBinaryException |
( |
|
severity, |
|
|
|
tag, |
|
|
|
context |
|
) |
| |
Value:{ \
tag == (const char *) NULL ? "unknown" : tag,"`%s'",context); \
}
MagickExport MagickBooleanType ThrowMagickException(ExceptionInfo *exception, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: exception.c:1149
#define GetMagickModule()
Definition: log.h:29
@ MagickFalse
Definition: magick-type.h:204
◆ ThrowBinaryImageException
#define ThrowBinaryImageException |
( |
|
severity, |
|
|
|
tag, |
|
|
|
context |
|
) |
| |
Value:{ \
if (image != (
Image *) NULL) \
tag == (const char *) NULL ? "unknown" : tag,"`%s'",context); \
}
◆ ThrowFatalException
#define ThrowFatalException |
( |
|
severity, |
|
|
|
tag |
|
) |
| |
Value:{ \
char \
*fatal_message; \
\
ExceptionInfo \
*fatal_exception; \
\
tag == (const char *) NULL ? "unknown" : tag,"`%s'",fatal_message); \
CatchException(fatal_exception); \
MagickCoreTerminus(); \
}
MagickExport ExceptionInfo * AcquireExceptionInfo(void)
Definition: exception.c:113
MagickExport ExceptionInfo * DestroyExceptionInfo(ExceptionInfo *exception)
Definition: exception.c:448
MagickExport char * GetExceptionMessage(const int error)
Definition: exception.c:530
@ FatalErrorException
Definition: exception.h:77
MagickExport char * DestroyString(char *string)
Definition: string.c:808
◆ ThrowFileException
#define ThrowFileException |
( |
|
exception, |
|
|
|
severity, |
|
|
|
tag, |
|
|
|
context |
|
) |
| |
Value:{ \
char \
*message; \
\
tag == (const char *) NULL ? "unknown" : tag,"`%s': %s",context,message); \
}
◆ ThrowImageException
#define ThrowImageException |
( |
|
severity, |
|
|
|
tag |
|
) |
| |
Value:{ \
tag == (const char *) NULL ? "unknown" : tag,"`%s'",image->filename); \
return((
Image *) NULL); \
}
◆ ThrowReaderException
#define ThrowReaderException |
( |
|
severity, |
|
|
|
tag |
|
) |
| |
Value:{ \
tag == (const char *) NULL ? "unknown" : tag,"`%s'",image_info->filename); \
if ((image) != (
Image *) NULL) \
{ \
} \
return((
Image *) NULL); \
}
MagickExport MagickBooleanType CloseBlob(Image *)
MagickExport Image * DestroyImageList(Image *images)
Definition: list.c:475
◆ ThrowWriterException
#define ThrowWriterException |
( |
|
severity, |
|
|
|
tag |
|
) |
| |
Value:{ \
tag == (const char *) NULL ? "unknown" : tag,"`%s'",image->filename); \
while (image->previous != (
Image *) NULL) \
image=image->previous; \
}
◆ ClearExceptionInfo()
◆ ExceptionComponentGenesis()
◆ ExceptionComponentTerminus()
◆ InitializeExceptionInfo()
References AllocateSemaphoreInfo(), _ExceptionInfo::exceptions, MagickCoreSignature, NewLinkedList(), _ExceptionInfo::semaphore, _ExceptionInfo::severity, _ExceptionInfo::signature, and UndefinedException.
Referenced by AcquireExceptionInfo(), AcquireImage(), CloneExceptionInfo(), and CloneImage().