[5009] in java-interest

home help back first fref pref prev next nref lref last post

Re: ArithmeticException problem?

daemon@ATHENA.MIT.EDU (Jim Graham)
Thu Jan 25 20:17:54 1996

Date: Thu, 25 Jan 1996 15:33:22 -0800
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
To: java-interest@java.Eng.Sun.COM, robertof@cpsc.ucalgary.ca


Hi Roberto,

> I was trying an application with some mathematic operations that would
> trigger a division by zero. I tried to use an ArithmeticException to
> catch this, but it does not seem to work. Does anybody has a clue about
> this?

Only integer operations throw exceptions.  Floating point operations
never throw an exception, generating NaN and Infinity values instead.

				...jim
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post