001    /*
002    
003      $Id: WriteErrorResponse.java,v 1.1 2003/03/22 14:18:49 culdesac Exp $
004    
005    */
006    
007    package sharpster.common;
008    
009    import sharpster.common.FileCollection;
010    import sharpster.common.Response;
011    
012    /**
013     * A response containing information about a write error
014     */
015    public class WriteErrorResponse extends Response {
016    
017        /**
018         * The collection of files.
019         */
020        private FileCollection files;
021    
022        /**
023         * Returns the type of this response.
024         */
025        public int getType() {
026            return 0;
027        }
028    
029        /**
030         * Returns the FileCollection with information about the files which has caused the error.
031         */
032        public FileCollection getFiles() {
033            return files;
034        }
035    
036        /**
037         * Sets the FileColletion with information about the files which has caused the error.
038         */
039        public void setFiles(FileCollection files) {
040            this.files = files;
041        }
042    }