01: /*
02: * This file is part of DrFTPD, Distributed FTP Daemon.
03: *
04: * DrFTPD is free software; you can redistribute it and/or modify it under the
05: * terms of the GNU General Public License as published by the Free Software
06: * Foundation; either version 2 of the License, or (at your option) any later
07: * version.
08: *
09: * DrFTPD is distributed in the hope that it will be useful, but WITHOUT ANY
10: * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11: * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12: *
13: * You should have received a copy of the GNU General Public License along with
14: * DrFTPD; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
15: * Suite 330, Boston, MA 02111-1307 USA
16: */
17: package org.drftpd.commands;
18:
19: /**
20: * @author mog
21: * @version $Id: ReplyException.java 1513 2006-10-13 22:41:08Z tdsoul $
22: */
23: public class ReplyException extends Exception {
24: public ReplyException() {
25: super ();
26: }
27:
28: public ReplyException(String message) {
29: super (message);
30: }
31:
32: public ReplyException(String message, Throwable cause) {
33: super (message, cause);
34: }
35:
36: public ReplyException(Throwable cause) {
37: super (cause);
38: }
39:
40: /**
41: * The return code for the error.
42: * @return code for the error.
43: */
44: public int getReplyCode() {
45: return 500;
46: }
47: }
|