edu.rice.cs.drjava.config
Class OptionParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
edu.rice.cs.drjava.config.OptionParseException
- All Implemented Interfaces:
- Serializable
public class OptionParseException
- extends IllegalArgumentException
Exception indicating that an OptionParser could not parse the specified value for a given configurable option.
- Version:
- $Id: OptionParseException.java 4422 2008-03-27 15:08:58Z rcartwright $
- See Also:
- Serialized Form
Constructor Summary |
OptionParseException(String key,
String value,
String message)
Exception indicating that an OptionParser could not parse the specified value for a given configurable option. |
key
public String key
value
public String value
message
public String message
OptionParseException
public OptionParseException(String key,
String value,
String message)
- Exception indicating that an OptionParser could not parse the specified value for a given configurable option.
- Parameters:
key
- The name of the configuration optionvalue
- The invalid value which caused the parse errormessage
- Some helpful message explaining the parse error
toString
public String toString()
- Format a nice message for the user.
- Overrides:
toString
in class Throwable