Class Exercise9_4

java.lang.Object
  extended byExercise9_4

public class Exercise9_4
extends java.lang.Object

Exercise 9.4 from the book.

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

Constructor Summary
Exercise9_4()
           
 
Method Summary
static void catchNullPointerException()
          Catch a NullPointerException
static void getNullPointerException()
          Throws a NullPointerException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exercise9_4

public Exercise9_4()
Method Detail

getNullPointerException

public static void getNullPointerException()
Throws a NullPointerException


catchNullPointerException

public static void catchNullPointerException()
Catch a NullPointerException