Package joptsimple
Class ValueConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
joptsimple.ValueConversionException
- All Implemented Interfaces:
java.io.Serializable
public class ValueConversionException
extends java.lang.RuntimeException
Thrown by
ValueConverter
s when problems occur in converting string values to other Java types.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ValueConversionException(java.lang.String message)
Creates a new exception with the specified detail message.ValueConversionException(java.lang.String message, java.lang.Throwable cause)
Creates a new exception with the specified detail message and cause. -
Method Summary
-
Constructor Details
-
ValueConversionException
public ValueConversionException(java.lang.String message)Creates a new exception with the specified detail message.- Parameters:
message
- the detail message
-
ValueConversionException
public ValueConversionException(java.lang.String message, java.lang.Throwable cause)Creates a new exception with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the original exception
-