#include <stdarg.h>#include "magick/semaphore.h"
Go to the source code of this file.
| typedef void(* ErrorHandler)(const ExceptionType, const char *, const char *) |
Definition at line 128 of file exception.h.
| typedef void(* FatalErrorHandler)(const ExceptionType, const char *, const char *) |
Definition at line 131 of file exception.h.
| typedef void(* WarningHandler)(const ExceptionType, const char *, const char *) |
Definition at line 134 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* * DestroyExceptionInfo | ( | ExceptionInfo * | ) |
Definition at line 374 of file exception.c.
References AcquireSemaphoreInfo(), DestroyExceptionElement(), DestroyLinkedList(), DestroySemaphoreInfo(), _ExceptionInfo::exceptions, LockSemaphoreInfo(), MagickFalse, MagickSignature, _ExceptionInfo::relinquish, RelinquishMagickMemory(), _ExceptionInfo::semaphore, _ExceptionInfo::severity, _ExceptionInfo::signature, UndefinedException, and UnlockSemaphoreInfo().
Referenced by CatchImageException(), CloseMagickLog(), DestroyFxInfo(), DestroyImage(), ExpandFilenames(), GetConfigureOption(), GetDrawInfo(), GetImageInfo(), GetImageMagick(), GetLocaleMessage(), GetMagickHomeURL(), GetPathTemplate(), GetPolicyValue(), GetXMPProperty(), GlobExpression(), IdentifyImage(), IsEventLogging(), IsMagickConflict(), IsRightsAuthorized(), LoadTypeList(), LogMagickEventList(), MagickMonitor(), MagickToMime(), OpenBlob(), OptimizeLayerFrames(), PingImages(), ReadImage(), ReadImages(), SetImageInfo(), SetLogEventMask(), SetLogFormat(), TranslateEvent(), WriteImage(), WriteImages(), and XFileBrowserWidget().
| MagickExport MagickBooleanType MagickExport void GetExceptionInfo | ( | ExceptionInfo * | ) |
| MagickExport char* GetExceptionMessage | ( | const | int | ) |
Definition at line 453 of file exception.c.
References ConstantString(), CopyMagickString(), and MaxTextExtent.
Referenced by InitializeMagickList().
| MagickExport const char* GetLocaleExceptionMessage | ( | const | ExceptionType, | |
| const char * | ||||
| ) |
Definition at line 565 of file exception.c.
References ExceptionSeverityToTag(), FormatMagickString(), GetLocaleMessage(), and MaxTextExtent.
Referenced by ThrowMagickExceptionList(), and XNoticeWidget().
| 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 * | , | |||
| const char * | ||||
| ) |
Definition at line 732 of file exception.c.
References warning_handler.
Referenced by CatchException().
| MagickExport ErrorHandler SetErrorHandler | ( | ErrorHandler | ) |
Definition at line 762 of file exception.c.
References error_handler.
| MagickExport FatalErrorHandler SetFatalErrorHandler | ( | FatalErrorHandler | ) |
Definition at line 795 of file exception.c.
References fatal_error_handler.
Referenced by LoadLocaleList().
| MagickExport WarningHandler SetWarningHandler | ( | WarningHandler | ) |
Definition at line 828 of file exception.c.
References warning_handler.
Referenced by IdentifyImage().
| MagickExport MagickBooleanType ThrowException | ( | ExceptionInfo * | , | |
| const | ExceptionType, | |||
| const char * | , | |||
| const char * | ||||
| ) |
| MagickExport MagickBooleanType ThrowMagickException | ( | ExceptionInfo * | , | |
| const char * | , | |||
| const char * | , | |||
| const unsigned long | , | |||
| const | ExceptionType, | |||
| const char * | , | |||
| const char * | , | |||
| ... | ||||
| ) |
| MagickExport MagickBooleanType ThrowMagickExceptionList | ( | ExceptionInfo * | , | |
| const char * | , | |||
| const char * | , | |||
| const unsigned long | , | |||
| const | ExceptionType, | |||
| const char * | , | |||
| const char * | , | |||
| va_list | ||||
| ) |
1.6.2-20100208