de.thaw.ps1
Class NegativeArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by de.thaw.ps1.NegativeArgumentException
All Implemented Interfaces:
Serializable

public class NegativeArgumentException
extends IllegalArgumentException

Wird geworfen, um den Aufruf einer Methode mit einem negativen Argument in Fällen anzuzeigen, in denen keine negativen Argumente erlaubt sind.

See Also:
Aufgabe1_4.faculty(long), Serialized Form

Constructor Summary
NegativeArgumentException()
          Erstellt eine NegativeArgumentException ohne Detailnachricht.
NegativeArgumentException(String message)
          Erstellt eine NegativeArgumentException mit Detailnachricht.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NegativeArgumentException

public NegativeArgumentException()
Erstellt eine NegativeArgumentException ohne Detailnachricht.


NegativeArgumentException

public NegativeArgumentException(String message)
Erstellt eine NegativeArgumentException mit Detailnachricht.

Parameters:
message - Detailnachricht