MagickCore 6.9.12
|
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 127 of file exception.h.
typedef void(* FatalErrorHandler) (const ExceptionType, const char *, const char *) |
Definition at line 130 of file exception.h.
typedef void(* WarningHandler) (const ExceptionType, const char *, const char *) |
Definition at line 133 of file exception.h.
enum ExceptionType |
Definition at line 28 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 448 of file exception.c.
References ClearExceptionInfo(), MagickFalse, and RelinquishMagickMemory().
Referenced by AcquireKernelInfo(), CatchImageException(), CloseMagickLog(), DestroyFxInfo(), DestroyImageView(), DistributePixelCacheClient(), ExpandFilenames(), GetConfigureOption(), GetDrawInfo(), GetImageInfo(), GetImageMagick(), GetLocaleMessage(), GetLogEventMask(), GetMagickHomeURL(), GetPathTemplate(), GetPolicyValue(), GetXMPProperty(), GlobExpression(), IdentifyImage(), IsCommandOption(), IsRightsAuthorized(), LoadTypeCache(), LogComponentGenesis(), LogMagickEventList(), MagickMonitor(), MagickToMime(), OpenBlob(), OptimizeLayerFrames(), PingImages(), ReadImage(), ReadImages(), RenderType(), SetImageInfo(), SetLogEventMask(), SetLogFormat(), SetLogMethod(), TranslateEvent(), WriteImage(), and WriteImages().
MagickExport char * GetExceptionMessage | ( | const int | error | ) |
Definition at line 530 of file exception.c.
References ConstantString(), CopyMagickString(), and MaxTextExtent.
MagickExport const char * GetLocaleExceptionMessage | ( | const | ExceptionType, |
const char * | tag | ||
) |
Definition at line 648 of file exception.c.
References ExceptionSeverityToTag(), FormatLocaleString(), GetLocaleMessage(), and MaxTextExtent.
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 848 of file exception.c.
References warning_handler.
Referenced by CatchException().
MagickExport ErrorHandler SetErrorHandler | ( | ErrorHandler | handler | ) |
Definition at line 878 of file exception.c.
References ActivateSemaphoreInfo(), error_handler, exception_semaphore, LockSemaphoreInfo(), and UnlockSemaphoreInfo().
MagickExport FatalErrorHandler SetFatalErrorHandler | ( | FatalErrorHandler | handler | ) |
Definition at line 915 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 952 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 | |||
) |