Exception
http://www.ssuet.edu.pk/taimoor/books/1-57521-197-1/ch10.htm
The first step is to modify the passingGrade() method definition to include the throws clause. The throws clause lists the types of exceptions that can be thrown by the method. In the following revised code, the method throws only an exception of type Exception:
static boolean passingGrade( int correct, int total )
throws Exception {
boolean returnCode = false ;
The rest of the method remains largely unchanged. This time, the method checks to see whether its arguments make sense. Because this method determines passing grades, it would be un-reasonable to have more correct responses than total responses. Therefore, if there are more correct responses than total responses, the method throws an exception.
May someone explain more?
Another question is:
http://safari.oreilly.com/1565927184/ch04-13203
can a statement like this throws exception to further methods?
sendrequest throws IOexception
Thanks!

