KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > coi > tools > os > win > resources > NativeLibErr


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

21
22 package com.coi.tools.os.win.resources;
23
24 import java.util.ListResourceBundle JavaDoc;
25
26 /**
27  * "Global" (English) resource bundle for NativLibException.
28  *
29  * @author Klaus Bartz
30  *
31  */

32 public class NativeLibErr extends ListResourceBundle JavaDoc
33 {
34
35     private static final Object JavaDoc[][] contents = {
36             { "libInternal.OsErrNumPraefix", " System error number is: "},
37             { "libInternal.OsErrStringPraefix", " System error text is: "},
38             { "system.outOfMemory", "Out of memory in the native part."},
39
40             { "functionFailed.RegOpenKeyEx", "Cannot open registry key {0}\\{1}."},
41             { "functionFailed.RegCreateKeyEx", "Cannot create registry key {0}\\{1}."},
42             { "functionFailed.RegDeleteKey", "Cannot delete registry key {0}\\{1}."},
43             { "functionFailed.RegEnumKeyEx", "Not possible to determine sub keys for key {0}\\{1}."},
44             { "functionFailed.RegEnumValue", "Not possible to determine value under key {0}\\{1}."},
45             { "functionFailed.RegSetValueEx",
46                     "Cannot create value {2} under registry key {0}\\{1}."},
47             { "functionFailed.RegDeleteValue",
48                     "Cannot delete value {2} under registry key {0}\\{1}."},
49             { "functionFailed.RegQueryValueEx",
50                     "No informations available for value {2} of registry key {0}\\{1}."},
51             { "functionFailed.RegQueryInfoKey",
52                     "No informations available for registry key {0}\\{1}."},
53
54             { "registry.ValueNotFound", "Registry value not found."},
55             { "registry.KeyNotFound", "Registry key not found."},
56             { "registry.KeyExist", "Cannot create registry key {0}\\{1} because key exist already."},
57             { "registry.ACLNotSupported", "In this version of COIOSHelper permission of registry keys are not supported."}};
58
59     /**
60      * Default constructor.
61      */

62     public NativeLibErr()
63     {
64         super();
65     }
66
67     /**
68      * Returns the contents array.
69      *
70      * @return contents array
71      */

72     protected Object JavaDoc[][] getContents()
73     {
74         return contents;
75     }
76
77 }
78
Popular Tags