Thread
:
throwing Exception
View Single Post
#
4
(
permalink
)
11-09-2007, 11:35 PM
ShoeNinja
Senior Member
Join Date: Oct 2007
Posts: 123
Yes. You just have to put 'throws whateverException' on the end of your signature.
Code:
public void calculateSum() throws InvalidSumException{ }
ShoeNinja
View Public Profile
Send a private message to ShoeNinja
Find all posts by ShoeNinja