public class InvalidCommandSyntaxException extends AgiException
| Constructor and Description |
|---|
InvalidCommandSyntaxException(String synopsis,
String usage)
Creates a new InvalidCommandSyntaxException with the given synopsis and
usage.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSynopsis()
Returns the synopsis of the command that was called with invalid syntax.
|
String |
getUsage()
Returns a description of the command that was called with invalid syntax.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getSynopsis()
public String getUsage()
Copyright © 2004–2020. All rights reserved.