Class Exercise9_7

java.lang.Object
  extended byExercise9_7

public class Exercise9_7
extends java.lang.Object

Exercise 9.7 from the book.

Version:
1.0
Author:
Kristian Torp, torp (at) cs (dot) aau (dot) dk

Constructor Summary
Exercise9_7()
           
 
Method Summary
 void evaluateNumber(int i)
          Throws various exceptions
static void main(java.lang.String[] args)
          Calls methods and catchtes exceptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exercise9_7

public Exercise9_7()
Method Detail

evaluateNumber

public void evaluateNumber(int i)
                    throws TooSmallException,
                           TooLargeException,
                           DoesNotLikeNumberException
Throws various exceptions

Throws:
TooSmallException
TooLargeException
DoesNotLikeNumberException

main

public static void main(java.lang.String[] args)
Calls methods and catchtes exceptions