1 /**
2 * I waive copyright and related rights in the this work worldwide through the CC0 1.0 Universal
3 * public domain dedication. https://creativecommons.org/publicdomain/zero/1.0/legalcode
4 */
5
6 package gov.usgs.volcanoes.winston.server.http.cmd.fdsnws;
7
8 /**
9 * Should you be using ErrorResponse instead?
10 *
11 * @author Tom Parker
12 *
13 */
14 @Deprecated
15 public class FdsnException extends Exception {
16
17 public final int code;
18 public final String message;
19
20 /**
21 * Constructor.
22 *
23 * @param code code
24 * @param message message
25 */
26 public FdsnException(final int code, final String message) {
27 this.code = code;
28 this.message = message;
29 }
30 }