MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/semaphore.h"
Go to the source code of this file.
Data Structures | |
struct | _ExceptionInfo |
Typedefs | |
typedef void(* | ErrorHandler) (const ExceptionType, const char *, const char *) |
typedef void(* | FatalErrorHandler) (const ExceptionType, const char *, const char *) |
typedef void(* | WarningHandler) (const ExceptionType, const char *, const char *) |
typedef void(* ErrorHandler) (const ExceptionType, const char *, const char *) |
Definition at line 126 of file exception.h.
typedef void(* FatalErrorHandler) (const ExceptionType, const char *, const char *) |
Definition at line 129 of file exception.h.
typedef void(* WarningHandler) (const ExceptionType, const char *, const char *) |
Definition at line 132 of file exception.h.
enum ExceptionType |
Definition at line 27 of file exception.h.
MagickExport ExceptionInfo * AcquireExceptionInfo | ( | void | ) |
MagickExport MagickBooleanType MagickExport void CatchException | ( | ExceptionInfo * | ) |
MagickExport MagickBooleanType MagickExport void ClearMagickException | ( | ExceptionInfo * | ) |
MagickExport ExceptionInfo * CloneExceptionInfo | ( | ExceptionInfo * | ) |
MagickExport ExceptionInfo * DestroyExceptionInfo | ( | ExceptionInfo * | exception | ) |
Definition at line 418 of file exception.c.
References ActivateSemaphoreInfo(), ClearLinkedList(), DestroyExceptionElement(), DestroyLinkedList(), _ExceptionInfo::exceptions, LockSemaphoreInfo(), MagickCoreSignature, MagickFalse, _ExceptionInfo::relinquish, RelinquishMagickMemory(), RelinquishSemaphoreInfo(), _ExceptionInfo::semaphore, _ExceptionInfo::severity, _ExceptionInfo::signature, UndefinedException, and UnlockSemaphoreInfo().
Referenced by CatchImageException(), CloneDrawInfo(), CloseMagickLog(), DestroyImageView(), ExpandFilenames(), FormatImageProperty(), GetConfigureOption(), GetConstantColour(), GetDrawInfo(), GetImageInfo(), GetImageMagick(), GetLocaleMessage(), GetLogEventMask(), GetMagickHomeURL(), GetPathTemplate(), GetPolicyValue(), GetXMPProperty(), GlobExpression(), IsCommandOption(), IsRightsAuthorized(), LoadTypeCache(), LogComponentGenesis(), LogMagickEventList(), MagickToMime(), OpenBlob(), OptimizeLayerFrames(), PingImages(), ReadImage(), ReadImages(), RenderType(), SetImageInfo(), SetLogEventMask(), SetLogFormat(), SetLogMethod(), TranslateEvent(), WriteImage(), and WriteImages().
MagickExport char * GetExceptionMessage | ( | const int | error | ) |
Definition at line 525 of file exception.c.
References ConstantString(), CopyMagickString(), and MagickPathExtent.
MagickExport const char * GetLocaleExceptionMessage | ( | const | ExceptionType, |
const char * | tag | ||
) |
Definition at line 643 of file exception.c.
References ExceptionSeverityToTag(), FormatLocaleString(), GetLocaleMessage(), and MagickPathExtent.
Referenced by GetImageViewException(), and ThrowMagickExceptionList().
MagickExport MagickBooleanType MagickExport void InheritException | ( | ExceptionInfo * | , |
const ExceptionInfo * | |||
) |
MagickExport MagickBooleanType MagickExport void MagickError | ( | const | ExceptionType, |
const char * | , | ||
const char * | |||
) |
MagickExport MagickBooleanType MagickExport void MagickFatalError | ( | const | ExceptionType, |
const char * | , | ||
const char * | |||
) |
MagickExport MagickBooleanType MagickExport void MagickWarning | ( | const | ExceptionType, |
const char * | reason, | ||
const char * | description | ||
) |
Definition at line 843 of file exception.c.
References warning_handler.
Referenced by CatchException().
MagickExport ErrorHandler SetErrorHandler | ( | ErrorHandler | handler | ) |
Definition at line 873 of file exception.c.
References ActivateSemaphoreInfo(), error_handler, exception_semaphore, LockSemaphoreInfo(), and UnlockSemaphoreInfo().
MagickExport FatalErrorHandler SetFatalErrorHandler | ( | FatalErrorHandler | handler | ) |
Definition at line 910 of file exception.c.
References ActivateSemaphoreInfo(), exception_semaphore, fatal_error_handler, LockSemaphoreInfo(), and UnlockSemaphoreInfo().
Referenced by LoadLocaleCache().
MagickExport WarningHandler SetWarningHandler | ( | WarningHandler | handler | ) |
Definition at line 947 of file exception.c.
References ActivateSemaphoreInfo(), exception_semaphore, LockSemaphoreInfo(), UnlockSemaphoreInfo(), and warning_handler.
Referenced by IdentifyImage().
MagickExport MagickBooleanType ThrowException | ( | ExceptionInfo * | , |
const | ExceptionType, | ||
const char * | , | ||
const char * | |||
) |
MagickExport MagickBooleanType ThrowMagickException | ( | ExceptionInfo * | , |
const char * | , | ||
const char * | , | ||
const | size_t, | ||
const | ExceptionType, | ||
const char * | , | ||
const char * | , | ||
... | |||
) |
MagickExport MagickBooleanType ThrowMagickExceptionList | ( | ExceptionInfo * | , |
const char * | , | ||
const char * | , | ||
const | size_t, | ||
const | ExceptionType, | ||
const char * | , | ||
const char * | , | ||
va_list | |||
) |