joptsimple
Class ValueConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by joptsimple.ValueConversionException
All Implemented Interfaces:
Serializable

public class ValueConversionException
extends RuntimeException

Thrown by ValueConverters when problems occur in converting string values to other Java types.

Version:
$Id: ValueConversionException.java,v 1.5 2009/08/13 00:34:35 pholser Exp $
Author:
Paul Holser
See Also:
Serialized Form

Constructor Summary
ValueConversionException(String message)
          Creates a new exception with the specified detail message.
ValueConversionException(String message, Throwable cause)
          Creates a new exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueConversionException

public ValueConversionException(String message)
Creates a new exception with the specified detail message.

Parameters:
message - the detail message

ValueConversionException

public ValueConversionException(String message,
                                Throwable cause)
Creates a new exception with the specified detail message and cause.

Parameters:
message - the detail message
cause - the original exception


Copyright © 2011. All Rights Reserved.