Lines Matching refs:reason
156 if (p->reason != (char *) NULL) in DestroyExceptionElement()
157 p->reason=DestroyString(p->reason); in DestroyExceptionElement()
174 exception->reason=(char *) NULL; in ClearMagickException()
225 MagickWarning(p->severity,p->reason,p->description); in CatchException()
227 MagickError(p->severity,p->reason,p->description); in CatchException()
229 MagickFatalError(p->severity,p->reason,p->description); in CatchException()
299 const char *reason,const char *description) in DefaultErrorHandler() argument
303 if (reason == (char *) NULL) in DefaultErrorHandler()
305 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultErrorHandler()
341 const char *reason,const char *description) in DefaultFatalErrorHandler() argument
343 if (reason == (char *) NULL) in DefaultFatalErrorHandler()
345 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultFatalErrorHandler()
383 const char *reason,const char *description) in DefaultWarningHandler() argument
387 if (reason == (char *) NULL) in DefaultWarningHandler()
389 (void) FormatLocaleFile(stderr,"%s: %s",GetClientName(),reason); in DefaultWarningHandler()
706 (void) ThrowException(exception,p->severity,p->reason,p->description); in InheritException()
773 MagickExport void MagickError(const ExceptionType error,const char *reason, in MagickError() argument
777 (*error_handler)(error,reason,description); in MagickError()
809 MagickExport void MagickFatalError(const ExceptionType error,const char *reason, in MagickFatalError() argument
813 (*fatal_error_handler)(error,reason,description); in MagickFatalError()
843 MagickExport void MagickWarning(const ExceptionType warning,const char *reason, in MagickWarning() argument
847 (*warning_handler)(warning,reason,description); in MagickWarning()
993 const ExceptionType severity,const char *reason,const char *description) in ThrowException() argument
1021 (LocaleCompare(exception->reason,reason) == 0) && in ThrowException()
1035 if (reason != (const char *) NULL) in ThrowException()
1036 p->reason=ConstantString(reason); in ThrowException()
1044 exception->reason=p->reason; in ThrowException()
1102 reason[MagickPathExtent]; in ThrowMagickExceptionList() local
1120 (void) CopyMagickString(reason,locale,MagickPathExtent); in ThrowMagickExceptionList()
1121 (void) ConcatenateMagickString(reason," ",MagickPathExtent); in ThrowMagickExceptionList()
1122 length=strlen(reason); in ThrowMagickExceptionList()
1124 n=vsnprintf(reason+length,MagickPathExtent-length,format,operands); in ThrowMagickExceptionList()
1126 n=vsprintf(reason+length,format,operands); in ThrowMagickExceptionList()
1129 reason[MagickPathExtent-1]='\0'; in ThrowMagickExceptionList()
1130 status=LogMagickEvent(ExceptionEvent,module,function,line,"%s",reason); in ThrowMagickExceptionList()
1140 reason,type,path,function,(double) line); in ThrowMagickExceptionList()