Lines Matching refs:reason
149 if (p->reason != (char *) NULL) in DestroyExceptionElement()
150 p->reason=DestroyString(p->reason); in DestroyExceptionElement()
167 exception->reason=(char *) NULL; in ClearMagickException()
218 MagickWarning(p->severity,p->reason,p->description); in CatchException()
220 MagickError(p->severity,p->reason,p->description); in CatchException()
222 MagickFatalError(p->severity,p->reason,p->description); in CatchException()
292 const char *reason,const char *description) in DefaultErrorHandler() argument
296 if (reason == (char *) NULL) in DefaultErrorHandler()
298 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultErrorHandler()
334 const char *reason,const char *description) in DefaultFatalErrorHandler() argument
336 if (reason == (char *) NULL) in DefaultFatalErrorHandler()
338 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultFatalErrorHandler()
376 const char *reason,const char *description) in DefaultWarningHandler() argument
380 if (reason == (char *) NULL) in DefaultWarningHandler()
382 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultWarningHandler()
647 (void) ThrowException(exception,p->severity,p->reason,p->description); in InheritException()
714 MagickExport void MagickError(const ExceptionType error,const char *reason, in MagickError() argument
718 (*error_handler)(error,reason,description); in MagickError()
750 MagickExport void MagickFatalError(const ExceptionType error,const char *reason, in MagickFatalError() argument
754 (*fatal_error_handler)(error,reason,description); in MagickFatalError()
784 MagickExport void MagickWarning(const ExceptionType warning,const char *reason, in MagickWarning() argument
788 (*warning_handler)(warning,reason,description); in MagickWarning()
922 const ExceptionType severity,const char *reason,const char *description) in ThrowException() argument
950 (LocaleCompare(exception->reason,reason) == 0) && in ThrowException()
964 if (reason != (const char *) NULL) in ThrowException()
965 p->reason=ConstantString(reason); in ThrowException()
973 exception->reason=p->reason; in ThrowException()
1031 reason[MagickPathExtent]; in ThrowMagickExceptionList() local
1049 (void) CopyMagickString(reason,locale,MagickPathExtent); in ThrowMagickExceptionList()
1050 (void) ConcatenateMagickString(reason," ",MagickPathExtent); in ThrowMagickExceptionList()
1051 length=strlen(reason); in ThrowMagickExceptionList()
1053 n=vsnprintf(reason+length,MagickPathExtent-length,format,operands); in ThrowMagickExceptionList()
1055 n=vsprintf(reason+length,format,operands); in ThrowMagickExceptionList()
1058 reason[MagickPathExtent-1]='\0'; in ThrowMagickExceptionList()
1059 status=LogMagickEvent(ExceptionEvent,module,function,line,"%s",reason); in ThrowMagickExceptionList()
1069 reason,type,path,function,(double) line); in ThrowMagickExceptionList()