exception-private.h File Reference

#include "magick/log.h"
Include dependency graph for exception-private.h:

Go to the source code of this file.

Defines

#define ThrowBinaryException(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)

Define Documentation

#define ThrowBinaryException ( severity,
tag,
context   ) 
#define ThrowFatalException ( severity,
tag   ) 
Value:
{ \
  ExceptionInfo \
    exception; \
 \
  GetExceptionInfo(&exception); \
  (void) ThrowMagickException(&exception,GetMagickModule(),severity, \
    tag == (const char *) NULL ? "unknown" : tag,"`%s'",strerror(errno)); \
  CatchException(&exception); \
  (void) DestroyExceptionInfo(&exception); \
  _exit(1); \
}

Definition at line 34 of file exception-private.h.

Referenced by AcquireCacheView(), AcquireDrawInfo(), AcquireExceptionInfo(), AcquireFxInfo(), AcquireImage(), AcquireImageInfo(), AcquirePixelCache(), AcquirePixelCacheNexus(), AcquireQuantizeInfo(), AcquireQuantumInfo(), AcquireRandomInfo(), AcquireResampleFilter(), AcquireResizeFilter(), AcquireSignatureInfo(), AcquireStreamInfo(), AcquireString(), AcquireStringInfo(), AcquireTimerInfo(), AcquireTokenInfo(), AllocateSemaphoreInfo(), AllocateString(), Ascii85Initialize(), BalanceSplayTree(), CloneBlobInfo(), CloneCacheView(), CloneDrawInfo(), CloneMagickPixelPacket(), CloneMontageInfo(), CloneQuantizeInfo(), CloneString(), ConcatenateString(), ConcatenateStringInfo(), ConstantString(), DrawImage(), EscapeString(), ExpandFilenames(), GetImageAttribute(), GetImageChannelDepth(), GetImageChannelDistortion(), GetImageChannelDistortions(), GetImageChannelStatistics(), GetImagePixelCache(), GetMagickOptions(), GetPathComponents(), GetThresholdMapFile(), IncrementRandomNonce(), InitializeMagickList(), IterateOverSplayTree(), ListFiles(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMimeList(), LoadPolicyList(), LoadTypeList(), NewHashmap(), NewLinkedList(), NewSplayTree(), OptimalTau(), ParseEntities(), ParseInternalDoctype(), ParseProcessingInstructions(), RegisterMagickInfo(), ResizeMagickMemory(), ScaleSpace(), SetImageRegistry(), SetMagickInfo(), SetStringInfoLength(), SetXMLTreeAttribute(), SplaySplayTree(), StringInfoToHexString(), StringToArgv(), StringToList(), SubstituteString(), ThrowException(), and TraceBezier().

#define ThrowFileException ( exception,
severity,
tag,
context   ) 
#define ThrowImageException ( severity,
tag   ) 
#define ThrowReaderException ( severity,
tag   ) 
Value:
{ \
  (void) ThrowMagickException(exception,GetMagickModule(),severity, \
    tag == (const char *) NULL ? "unknown" : tag,"`%s'",image_info->filename); \
  if ((image) != (Image *) NULL) \
    { \
      (void) CloseBlob(image); \
      image=DestroyImageList(image); \
    } \
  return((Image *) NULL); \
}

Definition at line 58 of file exception-private.h.

Referenced by ReadInlineImage().

#define ThrowWriterException ( severity,
tag   ) 
Value:
{ \
  (void) ThrowMagickException(&image->exception,GetMagickModule(),severity, \
    tag == (const char *) NULL ? "unknown" : tag,"`%s'",image->filename); \
  if (image_info->adjoin != MagickFalse) \
    while (image->previous != (Image *) NULL) \
      image=image->previous; \
  (void) CloseBlob(image); \
  return(MagickFalse); \
}

Definition at line 69 of file exception-private.h.


Generated on 19 Nov 2009 for MagickCore by  doxygen 1.6.1