exception

blog Exception in eiffel.

phundinhvu's picture

I'm studying about exception in eiffel and how to hand it. When have results, i'll post it here. Now, i hope there're some conferences about this title.

article

The rescue clause does not work

I've tested the system by an example of exception handling in Eiffel

 <eiffel>
feature {NONE} -- Initialization
	i:INTEGER
	x:REAL
	y:ARRAY[REAL]
	make
			-- Run application.
		do
			create y.make(1,2)
			io.put_string ("The item at position: ")
			io.read_integer
			i:=io.last_integer
			find
			io.put_string (" is: ")
			io.put_real (x)
			io.put_string ("%NReturn to make i

article

Attachment in creation features with exceptions

This is a short template of what one can do when dealing with the perfect storm of complication using attached variables. This issue can arise when you need to attempt to release a resource, e.g.

blog Strange stacktrace behavior on .NET

ted_eiffel's picture

Stacktrace is printed when C# exception is unhandled. Strangely Eiffel exception can not be printed. I don't know how CLR handle this.

Syndicate content