Thank u...

On Wed, Oct 29, 2008 at 6:14 AM, <[EMAIL PROTECTED]> wrote:

>
> SzopeN
>
> Yes, use if / elseif statements to test for the condition (=0,
> <0, ...) and throw the appropriate exception.
> Placement of the if statements is important to capture the exceptions
> before any computation.
>
> DenS
>
> On Oct 28, 4:24 pm, "Antara Pal" <[EMAIL PROTECTED]> wrote:
> > Hi,
> > can I use the if statement in try block in HW 1007 to test the number is
> 0
> > or less than 0 and then throw exception?
> > If not , then any hint please?
> >
> > Thanks SzopeN, for your help.
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to