de.jstacs.parameters
Class SimpleParameter.DatatypeNotValidException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.jstacs.parameters.ParameterException
              extended by de.jstacs.parameters.SimpleParameter.DatatypeNotValidException
All Implemented Interfaces:
Serializable
Enclosing class:
SimpleParameter

public static class SimpleParameter.DatatypeNotValidException
extends ParameterException

Class for an Exception that can be thrown if the provided int-value that represents a data type is not one of the values defined in DataType.

Author:
Jan Grau
See Also:
Serialized Form

Constructor Summary
SimpleParameter.DatatypeNotValidException(String reason)
          Creates a new SimpleParameter.DatatypeNotValidException with an error message.
 
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

SimpleParameter.DatatypeNotValidException

public SimpleParameter.DatatypeNotValidException(String reason)
Creates a new SimpleParameter.DatatypeNotValidException with an error message.

Parameters:
reason - the error message