joptsimple
Class OptionException

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

public abstract class OptionException
extends RuntimeException

Thrown when a problem occurs during option parsing.

Version:
$Id: OptionException.java,v 1.20 2009/04/04 01:24:27 pholser Exp $
Author:
Paul Holser
See Also:
Serialized Form

Method Summary
 Collection<String> options()
          Gives the option being considered when the exception was created.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

options

public Collection<String> options()

Gives the option being considered when the exception was created.

Returns:
the option being considered when the exception was created


© Copyright 2004-2009 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu