Hi!
 
a)
Yes, I was trying to pass the integer into the Exception calls which catches 
negative number.  I really struggled with this.  Then I did provide a 
constructor figuring to instantiate the exception object with the variable.  
This variable is passed to the method inside of the Exception class.  The 
method returns the number.  
 
But logical order is numberformat, negative and then zero catch.  I think if I 
order catch statements differently it will use negative catch the throw will go 
here first.

b) runtime in print Diamond.  I will try.
 
Wow.  Really learning alot in this lesson.  Cool!

Respects,

JKid314159
http://existentialists.blogspot.com/
 


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