KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > taglibs > gnat > util > GnatExceptionStrings


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

16
17 package org.apache.taglibs.gnat.util;
18
19 import java.io.*;
20 import java.util.*;
21
22 /**
23  * This class provides a ResourceBundle for Gnat Tag Library Exception strings.
24  *
25  * @author <a HREF="mailto:sstirling@mediaone.net">Scott M. Stirling</a>
26  */

27 public class GnatExceptionStrings extends ListResourceBundle
28 {
29       public Object JavaDoc[][] getContents() {
30                    return contents;
31            }
32            static final Object JavaDoc[][] contents = {
33            // LOCALIZE THIS
34
{ "empty.dir.attribute", "Non-empty \"dir\" attribute value required." },
35                    { "duplicate.mkdir.fail", "Unable to create dir as a directory with that name already exists: " },
36                    { "unknown.mkdir.fail", "Directory creation failed for an unknown reason: " },
37                    { "echo.dir.fail", "Can't echo to a directory; make sure value of \"file\" is a regular file." },
38                    { "touch.nsme", "You must use a 1.2 or higher JVM with this tag: " },
39                    { "touch.no.create", "Could not create file " },
40                    { "touch.throwable", "Exception setting the modification time of " },
41            // END OF MATERIAL TO LOCALIZE
42
};
43 }
44
Popular Tags