All Questions
6 questions
0
votes
1
answer
45
views
rescue how to raise further or forget an exception
How do I raise an exception further in eiffel? I have 3 cases
I want to retry
a_feature
local
l_retries_count: INTEGER
do
some_potential_failing_feature
rescue
if ...
0
votes
1
answer
28
views
where rescue should be called in an EWF_APP to be able to close a database connection
Inheriting from WSF_FILTERED_ROUTER_EXECUTION I redefine the clean to be able to close DB Connections. But when there is an assertion failure, I don't know where to call the clean on a rescue clause. ...
0
votes
1
answer
177
views
Error handling in Eiffel and Rescue clause
Is writing one rescue clause at the end of a program to end the program in Eiffel enough to handle exceptions such as pre, postconditions or invariant violations in any of the routines written in the ...
1
vote
1
answer
86
views
Developer exception starting a client-server model on Eiffel net
I'm trying to establish a connection using sockets between 2 PC's on the same LAN using the Eiffel Programming Language. I'm trying to run the examples that are by default on the installation ...
3
votes
2
answers
1k
views
Examples of error handling in Eiffel
I can't find any substantial example of error handling in Eiffel. I have only found examples that either are trivial, or they completely ignore errors, or they leave error handling to the reader. I ...
0
votes
2
answers
248
views
Eiffel exception not work
I'm trying to use an exception like in the class below, but the program always fails when I call the kivetel method. I'd think that it'll just call retry part, than it will satisfy the postcondition. ...