de.thaw.ps1.blatt9
Class Aufgabe9_4

java.lang.Object
  extended by de.thaw.ps1.blatt9.Aufgabe9_4

public class Aufgabe9_4
extends Object

Blatt 9, Aufgabe 4: Eine eigene Exception.

Author:
Arne Johannessen
See Also:
9. Übungsblatt PS1

Constructor Summary
Aufgabe9_4()
           
 
Method Summary
static double calculateHypotenuse(int firstValue, int secondValue)
          this funny little method calculates the length of a hypotenuse.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aufgabe9_4

public Aufgabe9_4()
Method Detail

calculateHypotenuse

public static double calculateHypotenuse(int firstValue,
                                         int secondValue)
                                  throws NegativeArgumentException
this funny little method calculates the length of a hypotenuse.

Throws:
NegativeArgumentException

main

public static void main(String[] args)