Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:exception

55 #include "MagickCore/exception.h"
56 #include "MagickCore/exception-private.h"
238 % const size_t length,ExceptionInfo *exception)
248 % o exception: return any errors or warnings in this structure.
252 const size_t length,ExceptionInfo *exception)
272 ThrowFileException(exception,BlobError,"UnableToWriteBlob",filename);
288 ThrowFileException(exception,BlobError,"UnableToWriteBlob",filename);
312 % const size_t length,ExceptionInfo *exception)
323 % o exception: return any errors or warnings in this structure.
327 const size_t length,ExceptionInfo *exception)
347 assert(exception != (ExceptionInfo *) NULL);
350 (void) ThrowMagickException(exception,GetMagickModule(),BlobError,
358 (void) SetImageInfo(blob_info,0,exception);
359 magick_info=GetMagickInfo(blob_info->magick,exception);
362 (void) ThrowMagickException(exception,GetMagickModule(),
377 image=ReadImage(blob_info,exception);
389 status=BlobToFile(blob_info->filename,blob,length,exception);
399 image=ReadImage(clone_info,exception);
962 % size_t *length,ExceptionInfo *exception)
975 % o exception: return any errors or warnings in this structure.
979 size_t *length,ExceptionInfo *exception)
1001 assert(exception != (ExceptionInfo *) NULL);
1008 ThrowFileException(exception,BlobError,"UnableToOpenFile",filename);
1053 (void) ThrowMagickException(exception,GetMagickModule(),
1060 ThrowFileException(exception,BlobError,"UnableToReadBlob",filename);
1076 (void) ThrowMagickException(exception,GetMagickModule(),
1103 ThrowFileException(exception,BlobError,"UnableToReadBlob",filename);
1113 ThrowFileException(exception,BlobError,"UnableToReadBlob",filename);
1175 ExceptionInfo *exception)
1202 ThrowFileException(exception,BlobError,"UnableToOpenBlob",filename);
1212 ThrowFileException(exception,ResourceLimitError,"MemoryAllocationFailed",
1229 ThrowFileException(exception,BlobError,"UnableToWriteBlob",filename);
1235 ThrowFileException(exception,BlobError,"UnableToWriteBlob",filename);
1535 % size_t *length,ExceptionInfo *exception)
1545 % o exception: return any errors or warnings in this structure.
1549 Image *image,size_t *length,ExceptionInfo *exception)
1570 assert(exception != (ExceptionInfo *) NULL);
1575 (void) SetImageInfo(blob_info,1,exception);
1578 magick_info=GetMagickInfo(image->magick,exception);
1581 (void) ThrowMagickException(exception,GetMagickModule(),
1597 (void) ThrowMagickException(exception,GetMagickModule(),
1604 status=WriteImage(blob_info,image,exception);
1627 ThrowFileException(exception,BlobError,"UnableToWriteBlob",
1637 status=WriteImage(blob_info,image,exception);
1641 blob=FileToBlob(unique,~0UL,length,exception);
1668 % ExceptionInfo *exception)
1676 % o exception: return any errors or warnings in this structure.
1680 ExceptionInfo *exception)
1720 ThrowFileException(exception,BlobError,"UnableToWriteBlob",filename);
1730 (void) ThrowMagickException(exception,GetMagickModule(),
1760 ThrowFileException(exception,BlobError,"UnableToWriteBlob",filename);
1789 % size_t *length,ExceptionInfo *exception)
1799 % o exception: return any errors or warnings in this structure.
1803 size_t *length,ExceptionInfo *exception)
1824 assert(exception != (ExceptionInfo *) NULL);
1829 exception);
1832 magick_info=GetMagickInfo(images->magick,exception);
1835 (void) ThrowMagickException(exception,GetMagickModule(),
1844 return(ImageToBlob(image_info,images,length,exception));
1856 (void) ThrowMagickException(exception,GetMagickModule(),
1863 status=WriteImages(blob_info,images,images->filename,exception);
1887 ThrowFileException(exception,FileOpenError,"UnableToWriteBlob",
1897 status=WriteImages(blob_info,images,filename,exception);
1901 blob=FileToBlob(unique,~0UL,length,exception);
1927 % ExceptionInfo *exception)
1939 % o exception: return any errors or warnings in this structure.
1943 Image *image,Image *inject_image,const char *format,ExceptionInfo *exception)
1989 assert(exception != (ExceptionInfo *) NULL);
1997 ThrowFileException(exception,FileOpenError,"UnableToCreateTemporaryFile",
2001 byte_image=CloneImage(inject_image,0,0,MagickFalse,exception);
2014 status=WriteImage(write_info,byte_image,exception);
2030 ThrowFileException(exception,FileOpenError,"UnableToOpenFile",
2059 ThrowFileException(exception,FileOpenError,"UnableToWriteBlob",filename);
2389 % const BlobMode mode,ExceptionInfo *exception)
2423 Image *image,const BlobMode mode,ExceptionInfo *exception)
2485 (void) ThrowMagickException(exception,GetMagickModule(),PolicyError,
2539 ThrowFileException(exception,BlobError,"UnableToOpenBlob",filename);
2554 ThrowFileException(exception,BlobError,"UnableToOpenBlob",filename);
2573 image->scene,filename,exception);
2729 ThrowFileException(exception,BlobError,"UnableToOpenBlob",filename);
2749 % BlobToImage(). On failure, a NULL image is returned and exception
2755 % const size_t length,ExceptionInfo *exception)
2766 % o exception: return any errors or warnings in this structure.
2787 const size_t length,ExceptionInfo *exception)
2800 assert(exception != (ExceptionInfo *) NULL);
2803 (void) ThrowMagickException(exception,GetMagickModule(),BlobError,
2811 (void) ThrowMagickException(exception,GetMagickModule(),
2818 image=ReadStream(ping_info,&PingStream,exception);