org.minueto
Class MinuetoZeroNegativeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.minueto.MinuetoZeroNegativeException
All Implemented Interfaces:
java.io.Serializable

public class MinuetoZeroNegativeException
extends java.lang.RuntimeException

Thrown by various methods in the Minueto package to indicate that a programmer used a zero or a negative number as a parameter and that value is valid.

Since:
Minueto 0.4.2
See Also:
Serialized Form

Constructor Summary
MinuetoZeroNegativeException()
          Constructs a MinuetoZeroNegativeException with null as its error message string.
MinuetoZeroNegativeException(java.lang.String s)
          Constructs a MinuetoZeroNegativeException, saving a reference to the error message string s for later retrieval by the getMessage method.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MinuetoZeroNegativeException

public MinuetoZeroNegativeException()
Constructs a MinuetoZeroNegativeException with null as its error message string.


MinuetoZeroNegativeException

public MinuetoZeroNegativeException(java.lang.String s)
Constructs a MinuetoZeroNegativeException, saving a reference to the error message string s for later retrieval by the getMessage method.

Parameters:
s - String indicating the detailed message.