Hello Friends,

The problem is fixed.

Best regards,
Rafał
Dnia 26-03-2009 o godz. 17:09 Rafał Laczek napisał(a):
> Hello,
> 
> In my homework over Diamond class I have created following class:
> 
> class MyOwnZeroValueEnteredException extends ArithmeticException{
> 
> }
> 
> 
> In main class my try-catch is following:
> try {
>            printDiamond(size);
> 
>         } catch (MyOwnZeroValueEnteredException  e) {
>             if (size<0){
>           JOptionPane.showMessageDialog(null, " Size should be >0. There is:
> "+size);
>       
>             }
>         }
> 
> I have a problem to display entered negative value.
> 
> Please help!
> 
> Best regards,
> Rafał Laczek
> 
> ----------------------------------------------------
> Zrób karierę jak Top Modelka Anna Jagodzinska!
> Wygraj kontrakt na 300 000 USD! Zostań modelką NEW AGE MODELS!
> Więcej informacji
> http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fnewageface.html&sid=675
> 
> 
> 
> 
----------------------------------------------------
Wymyśl własną grę flashową, poznaj gry innych!
Tylko na: http://klik.wp.pl/?adr=http%3A%2F%2Fwhosegame.pl&sid=676



--~--~---------~--~----~------------~-------~--~----~
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