001/* 002 * IzPack - Copyright 2001-2005 Julien Ponge, All Rights Reserved. 003 * 004 * http://www.izforge.com/izpack/ 005 * http://developer.berlios.de/projects/izpack/ 006 * 007 * Copyright 2005 Klaus Bartz 008 * 009 * Licensed under the Apache License, Version 2.0 (the "License"); 010 * you may not use this file except in compliance with the License. 011 * You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, software 016 * distributed under the License is distributed on an "AS IS" BASIS, 017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 018 * See the License for the specific language governing permissions and 019 * limitations under the License. 020 */ 021 022package com.coi.tools.os.win.resources; 023 024import java.util.ListResourceBundle; 025 026/** 027 * "Global" (English) resource bundle for NativLibException. 028 * 029 * @author Klaus Bartz 030 * 031 */ 032public class NativeLibErr extends ListResourceBundle 033{ 034 035 private static final Object[][] contents = { 036 { "libInternal.OsErrNumPraefix", " System error number is: "}, 037 { "libInternal.OsErrStringPraefix", " System error text is: "}, 038 { "system.outOfMemory", "Out of memory in the native part."}, 039 040 { "functionFailed.RegOpenKeyEx", "Cannot open registry key {0}\\{1}."}, 041 { "functionFailed.RegCreateKeyEx", "Cannot create registry key {0}\\{1}."}, 042 { "functionFailed.RegDeleteKey", "Cannot delete registry key {0}\\{1}."}, 043 { "functionFailed.RegEnumKeyEx", "Not possible to determine sub keys for key {0}\\{1}."}, 044 { "functionFailed.RegEnumValue", "Not possible to determine value under key {0}\\{1}."}, 045 { "functionFailed.RegSetValueEx", 046 "Cannot create value {2} under registry key {0}\\{1}."}, 047 { "functionFailed.RegDeleteValue", 048 "Cannot delete value {2} under registry key {0}\\{1}."}, 049 { "functionFailed.RegQueryValueEx", 050 "No informations available for value {2} of registry key {0}\\{1}."}, 051 { "functionFailed.RegQueryInfoKey", 052 "No informations available for registry key {0}\\{1}."}, 053 054 { "registry.ValueNotFound", "Registry value not found."}, 055 { "registry.KeyNotFound", "Registry key not found."}, 056 { "registry.KeyExist", "Cannot create registry key {0}\\{1} because key exist already."}}; 057 058 /** 059 * Default constructor. 060 */ 061 public NativeLibErr() 062 { 063 super(); 064 } 065 066 /** 067 * Returns the contents array. 068 * 069 * @return contents array 070 */ 071 protected Object[][] getContents() 072 { 073 return contents; 074 } 075 076}