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 5175 2010-01-20 08:46:32Z mgricken $
- See Also:
- Serialized Form
key
public String key
value
public String value
message
public String message
causes
public OptionParseException[] causes
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
OptionParseException
public OptionParseException(OptionParseException[] causes)
toString
public String toString()
- Format a nice message for the user.
- Overrides:
toString in class Throwable