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); \
}
◆ 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(); \
}
◆ 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); \
}
◆ ThrowWriterException
#define ThrowWriterException |
( |
|
severity, |
|
|
|
tag |
|
) |
| |
Value:{ \
tag == (const char *) NULL ? "unknown" : tag,"`%s'",image->filename); \
while (image->previous != (
Image *) NULL) \
image=image->previous; \
}
◆ ClearExceptionInfo()
References ActivateSemaphoreInfo(), ClearLinkedList(), DestroyExceptionElement(), DestroyLinkedList(), DestroySemaphoreInfo(), _ExceptionInfo::exceptions, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, _ExceptionInfo::relinquish, _ExceptionInfo::semaphore, _ExceptionInfo::severity, _ExceptionInfo::signature, UndefinedException, and UnlockSemaphoreInfo().
Referenced by DestroyExceptionInfo(), and DestroyImage().
◆ InitializeExceptionInfo()
References AllocateSemaphoreInfo(), _ExceptionInfo::exceptions, MagickCoreSignature, NewLinkedList(), _ExceptionInfo::semaphore, _ExceptionInfo::severity, _ExceptionInfo::signature, and UndefinedException.
Referenced by AcquireExceptionInfo(), AcquireImage(), CloneExceptionInfo(), and CloneImage().