Computer Science Canada Throwing exception in Java |
Author: | Panphobia [ Wed Apr 17, 2013 11:51 pm ] | ||
Post subject: | Throwing exception in Java | ||
The traditional way I would throw an exception in a method/function I would just put throws @@@@@@@@Exception, but I recently found out while coding a BFS for a sliding puzzle game that you can throw an illegal exception just by putting 0/0 here is an example
|
Author: | Tony [ Thu Apr 18, 2013 12:16 am ] |
Post subject: | RE:Throwing exception in Java |
stacktrace please. |