Lines Matching refs:reason
150 if (p->reason != (char *) NULL) in DestroyExceptionElement()
151 p->reason=DestroyString(p->reason); in DestroyExceptionElement()
168 exception->reason=(char *) NULL; in ClearMagickException()
218 MagickWarning(p->severity,p->reason,p->description); in CatchException()
221 MagickError(p->severity,p->reason,p->description); in CatchException()
228 MagickFatalError(p->severity,p->reason,p->description); in CatchException()
301 const char *reason,const char *description) in DefaultErrorHandler() argument
305 if (reason == (char *) NULL) in DefaultErrorHandler()
307 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultErrorHandler()
343 const char *reason,const char *description) in DefaultFatalErrorHandler() argument
345 if (reason == (char *) NULL) in DefaultFatalErrorHandler()
347 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultFatalErrorHandler()
385 const char *reason,const char *description) in DefaultWarningHandler() argument
389 if (reason == (char *) NULL) in DefaultWarningHandler()
391 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultWarningHandler()
655 (void) ThrowException(exception,p->severity,p->reason,p->description); in InheritException()
722 MagickExport void MagickError(const ExceptionType error,const char *reason, in MagickError() argument
726 (*error_handler)(error,reason,description); in MagickError()
758 MagickExport void MagickFatalError(const ExceptionType error,const char *reason, in MagickFatalError() argument
762 (*fatal_error_handler)(error,reason,description); in MagickFatalError()
792 MagickExport void MagickWarning(const ExceptionType warning,const char *reason, in MagickWarning() argument
796 (*warning_handler)(warning,reason,description); in MagickWarning()
930 const ExceptionType severity,const char *reason,const char *description) in ThrowException() argument
941 (LocaleCompare(exception->reason,reason) == 0) && in ThrowException()
955 if (reason != (const char *) NULL) in ThrowException()
956 p->reason=ConstantString(reason); in ThrowException()
964 exception->reason=p->reason; in ThrowException()
1018 reason[MagickPathExtent]; in ThrowMagickExceptionList() local
1036 (void) CopyMagickString(reason,locale,MagickPathExtent); in ThrowMagickExceptionList()
1037 (void) ConcatenateMagickString(reason," ",MagickPathExtent); in ThrowMagickExceptionList()
1038 length=strlen(reason); in ThrowMagickExceptionList()
1040 n=vsnprintf(reason+length,MagickPathExtent-length,format,operands); in ThrowMagickExceptionList()
1042 n=vsprintf(reason+length,format,operands); in ThrowMagickExceptionList()
1045 reason[MagickPathExtent-1]='\0'; in ThrowMagickExceptionList()
1046 status=LogMagickEvent(ExceptionEvent,module,function,line,"%s",reason); in ThrowMagickExceptionList()
1055 (void) FormatLocaleString(message,MagickPathExtent,"%s @ %s/%s/%s/%.20g",reason, in ThrowMagickExceptionList()