source: 3thparty/jupload/src/main/java/wjhk/jupload2/exception/JUploadExceptionStopAddingFiles.java @ 3951

Revision 3951, 1.7 KB checked in by alexandrecorreia, 13 years ago (diff)

Ticket #1709 - Adicao de codigo fonte java do componente jupload

Line 
1//
2// $Id$
3//
4// jupload - A file upload applet.
5//
6// Copyright 2008 The JUpload Team
7//
8// Created: 20 mars 08
9// Creator: etienne_sf
10// Last modified: $Date$
11//
12// This program is free software; you can redistribute it and/or modify
13// it under the terms of the GNU General Public License as published by
14// the Free Software Foundation; either version 2 of the License, or
15// (at your option) any later version.
16//
17// This program is distributed in the hope that it will be useful,
18// but WITHOUT ANY WARRANTY; without even the implied warranty of
19// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20// GNU General Public License for more details.
21//
22// You should have received a copy of the GNU General Public License
23// along with this program; if not, write to the Free Software
24// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25
26package wjhk.jupload2.exception;
27
28import java.io.File;
29
30import wjhk.jupload2.policies.UploadPolicy;
31
32/**
33 *
34 * This exception is a trick, to stop adding files to the file list, when too
35 * many files don't match the allowed extension (see
36 * <I>wjhk.jupload2.gui.FilePanelDataModel2#addFile(File, File)</I>), or any
37 * other control of the current upload policy (see
38 * {@link UploadPolicy#createFileData(File, File)}.
39 *
40 * @author etienne_sf
41 *
42 */
43public class JUploadExceptionStopAddingFiles extends JUploadException {
44
45    /** A generated serialVersionUID, to avoid warning during compilation */
46    private static final long serialVersionUID = 4395228400366722178L;
47
48    /**
49     * @param message
50     */
51    public JUploadExceptionStopAddingFiles(String message) {
52        super(message);
53        // No action.
54    }
55
56}
Note: See TracBrowser for help on using the repository browser.