qflib 0.98.1

de.qfs.lib.util
Class MissingParameterException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--de.qfs.lib.util.MalformedArgumentListException
                    |
                    +--de.qfs.lib.util.MissingParameterException
All Implemented Interfaces:
java.io.Serializable

public class MissingParameterException
extends MalformedArgumentListException

This exception is thrown by ArgsParser.parse when it encouters an option that has a required parameter, but none was given on the command line or in the options file.

Version:
$Revision: 1.2 $
Author:
Gregor Schmid
See Also:
Serialized Form

Constructor Summary
MissingParameterException(java.lang.String message, java.lang.String option)
          Create a new MissingParameterException.
 
Methods inherited from class de.qfs.lib.util.MalformedArgumentListException
getOption
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingParameterException

public MissingParameterException(java.lang.String message,
                                 java.lang.String option)
Create a new MissingParameterException.
Parameters:
message - A message explaining the reason for the exception.
option - The option that caused the exception.

qflib 0.98.1