class REPORTER
****

__This_class_is_provided_to_report_errors,_warnings,_etc_to_a_program
___user.__Where_appropriate_errors_and_warnings_are_also_sent_to_a_throw-back
___channel_for_use_by_other_applications_known_to_the_underlying_operating
___system.__A_fatal_error_may_be_'reported'_by_raising_an_exception_as
___required.__This_is_always_done_as_a_string_exception,_created_for_the
___purpose_by_this_object.


Flattened version is here



Public


Readable Attributes
attr max_index : CARD ;
attr raise_error : BOOL ;
attr throw_back_active : BOOL ;
attr warning_not_error : BOOL ;

Features
can_throw : BOOL
****
________This_predicate_returns_true_if_and_only_if_throw-back_is_possible,
___otherwise_false.
clear_errors
clear_warnings
create(format_strings : ARRAY{STR}) : SAME
create(format_strings : ARRAY{STR},library : LIBCHARS) : SAME
create(format_strings : ARRAY{STR},library : LIBCHARS,do_throwback : BOOL) : SAME
done_throwing
error(index : CARD)
error(index : CARD, arg : $FMT)
error(index : CARD,arg1,arg2 : $FMT)
error(index : CARD,arg1,arg2,arg3 : $FMT)
error_free : BOOL
**** This predicate returns true if and only if there are currently no
___errors_reported.
errors : CARD
fatal
line_error(index : CARD,line : CARD)
line_error(index : CARD,line : CARD,arg : $FMT)
line_error(index : CARD,line : CARD,arg1,arg2 : $FMT)
line_error(index : CARD,line : CARD,arg1,arg2,arg3 : $FMT)
line_warn(index : CARD,line : CARD)
line_warn(index : CARD,line : CARD,arg : $FMT)
line_warn(index : CARD,line : CARD,arg1,arg2 : $FMT)
line_warn(index : CARD,line : CARD,arg1,arg2,arg3 : $FMT)
non_fatal
start_throw(fyle_ident : FILE_PATH) : BOOL
warn(index : CARD)
warn(index : CARD,arg : $FMT)
warn(index : CARD,arg1,arg2 : $FMT)
warn(index : CARD,arg1,arg2,arg3 : $FMT)
warn_as_errors
warn_only
warnings : CARD


Private

do_error(line_err : CARD,msg : STR)
do_warn(line_err : CARD,msg : STR)
attr error_count : CARD ;
attr error_count : CARD ;
attr lib : LIBCHARS ;
attr lib : LIBCHARS ;
attr line_no : CARD ;
attr line_no : CARD ;
attr max_index : CARD ;
attr messages : ARRAY{STR} ;
attr messages : ARRAY{STR} ;
attr raise_error : BOOL ;
attr source : FILE_PATH ;
attr source : FILE_PATH ;
throw(msg : STR,only_warning : BOOL)
attr throw_back_active : BOOL ;
attr throw_back_channel : REFERENCE ;
attr throw_back_channel : REFERENCE ;
attr throw_back_possible : BOOL ;
attr throw_back_possible : BOOL ;
attr warning_count : CARD ;
attr warning_count : CARD ;
attr warning_not_error : BOOL ;

The Sather Home Page