org.kohsuke.args4j
Class CmdLineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.kohsuke.args4j.CmdLineException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IllegalOptionParameterException, MissingOptionParameterException, UndefinedOptionException
public class CmdLineException
- extends Exception
Signals a failure in the command line parameters processing.
The Throwable.getMessage()
method will return a human-readable
description of the error, so you should just do
System.err.println(e.getMessage());
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CmdLineException
public CmdLineException()
CmdLineException
public CmdLineException(String message)
Copyright © 2003-2010 Kohsuke Kawaguchi. All Rights Reserved.