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 ValueConverters 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

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 message
      cause - the original exception