|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.sf.asterisk.fastagi.AGIException net.sf.asterisk.fastagi.InvalidCommandSyntaxException
public class InvalidCommandSyntaxException
An InvalidCommandSyntaxException is thrown when the reader receives a reply with status code 520.
Constructor Summary | |
---|---|
InvalidCommandSyntaxException(java.lang.String synopsis,
java.lang.String usage)
Creates a new InvalidCommandSyntaxException with the given synopsis and usage. |
Method Summary | |
---|---|
java.lang.String |
getSynopsis()
Returns the synopsis of the command that was called with invalid syntax. |
java.lang.String |
getUsage()
Returns a description of the command that was called with invalid syntax. |
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 |
---|
public InvalidCommandSyntaxException(java.lang.String synopsis, java.lang.String usage)
synopsis
- the synopsis of the command.usage
- the usage of the command.Method Detail |
---|
public java.lang.String getSynopsis()
public java.lang.String getUsage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |