org.overlord.sramp.shell.api
Class InvalidCommandArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.overlord.sramp.shell.api.InvalidCommandArgumentException
- All Implemented Interfaces:
- Serializable
public class InvalidCommandArgumentException
- extends Exception
An exception thrown when an argument to a command is invalid.
- Author:
- eric.wittmann@redhat.com
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidCommandArgumentException
public InvalidCommandArgumentException(int argumentIndex,
String message)
- Constructor.
getArgumentIndex
public int getArgumentIndex()
- Returns:
- the argumentIndex
setArgumentIndex
public void setArgumentIndex(int argumentIndex)
- Parameters:
argumentIndex - the argumentIndex to set
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.