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: import net.sf.drftpd.NoAvailableSlaveException;
20:
21: /**
22: * @author mog
23: * @version $Id: ReplySlaveUnavailableException.java 1513 2006-10-13 22:41:08Z tdsoul $
24: */
25: public class ReplySlaveUnavailableException extends ReplyException {
26: private int _replyCode;
27:
28: public ReplySlaveUnavailableException(NoAvailableSlaveException ex,
29: int replyCode) {
30: super (ex);
31: _replyCode = replyCode;
32: }
33:
34: public int getReplyCode() {
35: return _replyCode;
36: }
37: }
|