/[schmitzm]/trunk/src/appl/data/LoadingException.java
ViewVC logotype

Contents of /trunk/src/appl/data/LoadingException.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Tue Feb 24 22:43:52 2009 UTC (16 years ago) by mojays
File size: 574 byte(s)
First Commit, corresponds to Revision 1008 of Wikisquare-SVN
includes:
- schmitzm.* (except schmitzm.test)
- org.geotools.* (all overridden classes)
- skrueger.geotools
- skrueger.i8n
- skrueger.swing
- appl.data.LateLoadable (dependency in SCHMITZM)
- appl.data.LoadingException (dependency in SCHMITZM)
- appl.util.RasterMetaData (dependency in SCHMITZM)

1 package appl.data;
2
3 /**
4 * Thrown when the data loading from some source fails.
5 *
6 * @author Dominik Appl
7 */
8 public class LoadingException extends Exception {
9
10 String loadSource;
11
12 /**
13 * Creates a new Exception with the name of the Source from which the
14 * loading failed
15 */
16 public LoadingException(String message, Object loadSource) {
17 super(message);
18 this.loadSource = loadSource.toString();
19
20 }
21
22 /**
23 * @return the name of the Source from which the loading failed
24 */
25 public String getLoadSource() {
26 return loadSource;
27 }
28 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26