INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "The supplier of the USCL specific error handling facilities"
project: "Visual Eiffel"
revision: "$Revision: 1.2 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: containers
class CONTAINER_ERROR_HANDLER_
inherit

ERROR_HANDLER_
end
feature -- Operations

stop (first, second: ANY; routine_name: STRING; error_code: INTEGER)
-- builds the proper "where it happened" report depending on
-- 'first' and 'second' for subsequent calling 'err_report' to
-- build the error report in full and stop the execution soon after
--
require
valid_object: first /= void
valid_routine: routine_name /= void
proper_error: error_code > 0 and then error_code <= sc_max_error_code
feature -- Queries

sc_is_empty: INTEGER

sc_is_full: INTEGER

sc_unexpected: INTEGER

sc_is_protected: INTEGER

sc_key_not_found: INTEGER

sc_item_not_found: INTEGER

sc_key_duplication: INTEGER

sc_item_duplication: INTEGER

sc_loss_of_data: INTEGER

sc_out_of_range: INTEGER

sc_max_error_code: INTEGER

error_messages_: ARRAY [STRING]
ensure
well_done: Result.count = sc_max_error_code
end -- class CONTAINER_ERROR_HANDLER_

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES