Statistics
| Revision:

gvsig-raster / org.gvsig.raster.tools / trunk / org.gvsig.raster.tools / org.gvsig.raster.tools.app.basic / src / main / java / org / gvsig / raster / tools / app / basic / raster / gui / wizard / ParseURIException.java @ 4181

History | View | Annotate | Download (2.03 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.raster.tools.app.basic.raster.gui.wizard;
25

    
26
import org.gvsig.tools.exception.BaseException;
27

    
28
/**
29
 * Generic exception thrown in the Annotation API when the exception or error
30
 * may be dealt by the program or the user of the program which is a client of
31
 * the Annotation API.
32
 *
33
 * @author gvSIG team.
34
 * @version $Id$
35
 */
36
public class ParseURIException extends BaseException {
37

    
38
    /**
39
     *
40
     */
41
    private static final long serialVersionUID = -385212859922234711L;
42

    
43
    private static final String MESSAGE =
44
        "An error has been produced in parsing URI";
45

    
46
    private static final String KEY = "_ParseURIException";
47

    
48
    /**
49
     * Creates a new {@link AnnotationCreationException}.
50
     *
51
     * @param cause
52
     *            the original cause
53
     */
54
    public ParseURIException(Throwable cause) {
55
        super(MESSAGE, cause, KEY, serialVersionUID);
56
    }
57

    
58
    public ParseURIException(String message) {
59
        super(message, KEY, serialVersionUID);
60
    }
61

    
62
    public ParseURIException(String message, Throwable cause) {
63
        super(message, cause, KEY, serialVersionUID);
64
    }
65
}