Use the ..._noexception network features in the WGI standalone input and output classes.
This commit is contained in:
@@ -43,7 +43,7 @@ feature -- Input
|
||||
do
|
||||
src := source
|
||||
if src.readable and not src.was_error then
|
||||
src.read_character
|
||||
src.read_character_noexception
|
||||
last_character := src.last_character
|
||||
else
|
||||
last_character := '%U'
|
||||
@@ -57,7 +57,7 @@ feature -- Input
|
||||
src := source
|
||||
last_string.wipe_out
|
||||
if src.readable and not src.was_error then
|
||||
src.read_stream_thread_aware (nb)
|
||||
src.read_stream_noexception (nb)
|
||||
last_string.append_string (src.last_string)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -90,7 +90,7 @@ feature -- Output
|
||||
put_character (c: CHARACTER_8)
|
||||
do
|
||||
last_target_call_succeed := False
|
||||
target.put_character (c)
|
||||
target.put_character_noexception (c)
|
||||
last_target_call_succeed := not target.was_error
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user