/[classpath]/inetlib/source/gnu/inet/ftp/FTPException.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/ftp/FTPException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dog, Thu Oct 21 15:21:54 2004 UTC revision 1.5 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * FTPException.java
3   * Copyright (C) 2003 The Free Software Foundation   * Copyright (C) 2003 The Free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 44  import java.io.IOException; Line 44  import java.io.IOException;
44   * An FTP control exception.   * An FTP control exception.
45   *   *
46   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
  * @version $Revision$ $Date$  
47   */   */
48  public class FTPException extends IOException  public class FTPException
49      extends IOException
50  {  {
51    
52    /**    /**
# Line 58  public class FTPException extends IOExce Line 58  public class FTPException extends IOExce
58     * Constructs a new FTP exception.     * Constructs a new FTP exception.
59     * @param response the response that provoked this exception     * @param response the response that provoked this exception
60     */     */
61    public FTPException (FTPResponse response)    public FTPException(FTPResponse response)
62      {    {
63        super (response.getMessage ());      super(response.getMessage());
64        this.response = response;      this.response = response;
65      }    }
66      
67    /**    /**
68     * Returns the response that provoked this exception.     * Returns the response that provoked this exception.
69     */     */
70    public FTPResponse getResponse ()    public FTPResponse getResponse()
71      {    {
72        return response;      return response;
73      }    }
74    
75  }  }
76    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26