01: /*
02: * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
03: *
04: * http://izpack.org/
05: * http://izpack.codehaus.org/
06: *
07: * Copyright 2005 Klaus Bartz
08: *
09: * 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;
25:
26: /**
27: * "Global" (English) resource bundle for NativLibException.
28: *
29: * @author Klaus Bartz
30: *
31: */
32: public class NativeLibErr extends ListResourceBundle {
33:
34: private static final Object[][] contents = {
35: { "libInternal.OsErrNumPraefix",
36: " System error number is: " },
37: { "libInternal.OsErrStringPraefix",
38: " System error text is: " },
39: { "system.outOfMemory", "Out of memory in the native part." },
40:
41: { "functionFailed.RegOpenKeyEx",
42: "Cannot open registry key {0}\\{1}." },
43: { "functionFailed.RegCreateKeyEx",
44: "Cannot create registry key {0}\\{1}." },
45: { "functionFailed.RegDeleteKey",
46: "Cannot delete registry key {0}\\{1}." },
47: { "functionFailed.RegEnumKeyEx",
48: "Not possible to determine sub keys for key {0}\\{1}." },
49: { "functionFailed.RegEnumValue",
50: "Not possible to determine value under key {0}\\{1}." },
51: { "functionFailed.RegSetValueEx",
52: "Cannot create value {2} under registry key {0}\\{1}." },
53: { "functionFailed.RegDeleteValue",
54: "Cannot delete value {2} under registry key {0}\\{1}." },
55: { "functionFailed.RegQueryValueEx",
56: "No informations available for value {2} of registry key {0}\\{1}." },
57: { "functionFailed.RegQueryInfoKey",
58: "No informations available for registry key {0}\\{1}." },
59:
60: { "registry.ValueNotFound", "Registry value not found." },
61: { "registry.KeyNotFound", "Registry key not found." },
62: { "registry.KeyExist",
63: "Cannot create registry key {0}\\{1} because key exist already." },
64: { "registry.ACLNotSupported",
65: "In this version of COIOSHelper permission of registry keys are not supported." } };
66:
67: /**
68: * Default constructor.
69: */
70: public NativeLibErr() {
71: super ();
72: }
73:
74: /**
75: * Returns the contents array.
76: *
77: * @return contents array
78: */
79: protected Object[][] getContents() {
80: return contents;
81: }
82:
83: }
|