|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.asteriskjava.fastagi.AgiException
org.asteriskjava.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()
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||