1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package net.sf.asterisk.fastagi;
18
19 /***
20 * An InvalidOrUnknownCommandException is thrown when the reader receives a reply
21 * with status code 510.
22 *
23 * @author srt
24 * @version $Id: InvalidOrUnknownCommandException.java,v 1.2 2005/03/11 19:43:48 srt Exp $
25 */
26 public class InvalidOrUnknownCommandException extends AGIException
27 {
28 /***
29 * Serial version identifier.
30 */
31 private static final long serialVersionUID = 3257002168165807929L;
32
33 /***
34 * Creates a new InvalidOrUnknownCommandException.
35 *
36 * @param command the invalid or unknown command.
37 */
38 public InvalidOrUnknownCommandException(String command)
39 {
40 super("Invalid or unknown command: " + command);
41 }
42 }