KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > ext > awt > image > spi > ErrorConstants


1 /*
2
3    Copyright 2001 The Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16
17  */

18 package org.apache.batik.ext.awt.image.spi;
19
20 /**
21  * The built in error codes.
22  *
23  * @author <a HREF="mailto:thomas.deweese@kodak.com">Thomas DeWeese</a>
24  * @version $Id: ErrorConstants.java,v 1.5 2005/03/27 08:58:33 cam Exp $
25  */

26 public interface ErrorConstants {
27
28     /**
29      * The error messages bundle class name.
30      */

31     public final static String JavaDoc RESOURCES =
32         "org.apache.batik.ext.awt.image.spi.resources.Messages";
33
34
35     /**
36      * The error code when a stream is unreadable (corrupt or unsupported).
37      */

38     public static final String JavaDoc ERR_STREAM_UNREADABLE
39         = "stream.unreadable";
40
41     /**
42      * The error code when a url of a particular format is unreadable
43      * (corrupt).
44      * <pre>
45      * {0} = the format that couldn't be read.
46      * </pre>
47      */

48     public static final String JavaDoc ERR_STREAM_FORMAT_UNREADABLE
49         = "stream.format.unreadable";
50
51     /**
52      * The error code when the data in the url is uninterpretable by this
53      * software (meaning it's corrupt or an unsupported format of some sort).
54      * <pre>
55      * {0} = the ParsedURL that couldn't be read.
56      * </pre>
57      */

58     public static final String JavaDoc ERR_URL_UNINTERPRETABLE
59         = "url.uninterpretable";
60
61     /**
62      * The error code when a url is unreachable (ussually bad URL,
63      * or server is down).
64      * <pre>
65      * {0} = the ParsedURL that couldn't be read.
66      * </pre>
67      */

68     public static final String JavaDoc ERR_URL_UNREACHABLE
69         = "url.unreachable";
70
71
72     /**
73      * The error code when a url of a particular format is unreadable
74      * (corrupt).
75      * <pre>
76      * {0} = the format that couldn't be read.
77      * {1} = the ParsedURL for file.
78      * </pre>
79      */

80     public static final String JavaDoc ERR_URL_FORMAT_UNREADABLE
81         = "url.format.unreadable";
82
83 }
84
Popular Tags