js/xpconnect/src/xpc.msg

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
michael@0 2 *
michael@0 3 * This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 6
michael@0 7 /* Error Message definitions. */
michael@0 8
michael@0 9
michael@0 10 /* xpconnect specific codes (from nsIXPConnect.h) */
michael@0 11
michael@0 12 XPC_MSG_DEF(NS_ERROR_XPC_NOT_ENOUGH_ARGS , "Not enough arguments")
michael@0 13 XPC_MSG_DEF(NS_ERROR_XPC_NEED_OUT_OBJECT , "'Out' argument must be an object")
michael@0 14 XPC_MSG_DEF(NS_ERROR_XPC_CANT_SET_OUT_VAL , "Cannot set 'value' property of 'out' argument")
michael@0 15 XPC_MSG_DEF(NS_ERROR_XPC_NATIVE_RETURNED_FAILURE , "Component returned failure code:")
michael@0 16 XPC_MSG_DEF(NS_ERROR_XPC_CANT_GET_INTERFACE_INFO , "Cannot find interface information")
michael@0 17 XPC_MSG_DEF(NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO , "Cannot find interface information for parameter")
michael@0 18 XPC_MSG_DEF(NS_ERROR_XPC_CANT_GET_METHOD_INFO , "Cannot find method information")
michael@0 19 XPC_MSG_DEF(NS_ERROR_XPC_UNEXPECTED , "Unexpected error in XPConnect")
michael@0 20 XPC_MSG_DEF(NS_ERROR_XPC_BAD_CONVERT_JS , "Could not convert JavaScript argument")
michael@0 21 XPC_MSG_DEF(NS_ERROR_XPC_BAD_CONVERT_NATIVE , "Could not convert Native argument")
michael@0 22 XPC_MSG_DEF(NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF , "Could not convert JavaScript argument (NULL value cannot be used for a C++ reference type)")
michael@0 23 XPC_MSG_DEF(NS_ERROR_XPC_BAD_OP_ON_WN_PROTO , "Illegal operation on WrappedNative prototype object")
michael@0 24 XPC_MSG_DEF(NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN , "Cannot convert WrappedNative to function")
michael@0 25 XPC_MSG_DEF(NS_ERROR_XPC_CANT_DEFINE_PROP_ON_WN , "Cannot define new property in a WrappedNative")
michael@0 26 XPC_MSG_DEF(NS_ERROR_XPC_CANT_WATCH_WN_STATIC , "Cannot place watchpoints on WrappedNative object static properties")
michael@0 27 XPC_MSG_DEF(NS_ERROR_XPC_CANT_EXPORT_WN_STATIC , "Cannot export a WrappedNative object's static properties")
michael@0 28 XPC_MSG_DEF(NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED , "nsIXPCScriptable::Call failed")
michael@0 29 XPC_MSG_DEF(NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED , "nsIXPCScriptable::Construct failed")
michael@0 30 XPC_MSG_DEF(NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE , "Cannot use wrapper as function unless it implements nsIXPCScriptable")
michael@0 31 XPC_MSG_DEF(NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE , "Cannot use wrapper as constructor unless it implements nsIXPCScriptable")
michael@0 32 XPC_MSG_DEF(NS_ERROR_XPC_CI_RETURNED_FAILURE , "ComponentManager::CreateInstance returned failure code:")
michael@0 33 XPC_MSG_DEF(NS_ERROR_XPC_GS_RETURNED_FAILURE , "ServiceManager::GetService returned failure code:")
michael@0 34 XPC_MSG_DEF(NS_ERROR_XPC_BAD_CID , "Invalid ClassID or ContractID")
michael@0 35 XPC_MSG_DEF(NS_ERROR_XPC_BAD_IID , "Invalid InterfaceID")
michael@0 36 XPC_MSG_DEF(NS_ERROR_XPC_CANT_CREATE_WN , "Cannot create wrapper around native interface")
michael@0 37 XPC_MSG_DEF(NS_ERROR_XPC_JS_THREW_EXCEPTION , "JavaScript component threw exception")
michael@0 38 XPC_MSG_DEF(NS_ERROR_XPC_JS_THREW_NATIVE_OBJECT , "JavaScript component threw a native object that is not an exception")
michael@0 39 XPC_MSG_DEF(NS_ERROR_XPC_JS_THREW_JS_OBJECT , "JavaScript component threw a JavaScript object")
michael@0 40 XPC_MSG_DEF(NS_ERROR_XPC_JS_THREW_NULL , "JavaScript component threw a null value as an exception")
michael@0 41 XPC_MSG_DEF(NS_ERROR_XPC_JS_THREW_STRING , "JavaScript component threw a string as an exception")
michael@0 42 XPC_MSG_DEF(NS_ERROR_XPC_JS_THREW_NUMBER , "JavaScript component threw a number as an exception")
michael@0 43 XPC_MSG_DEF(NS_ERROR_XPC_JAVASCRIPT_ERROR , "JavaScript component caused a JavaScript error")
michael@0 44 XPC_MSG_DEF(NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS , "JavaScript component caused a JavaScript error (detailed report attached)")
michael@0 45 XPC_MSG_DEF(NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY, "Cannot convert primitive JavaScript value into an array")
michael@0 46 XPC_MSG_DEF(NS_ERROR_XPC_CANT_CONVERT_OBJECT_TO_ARRAY , "Cannot convert JavaScript object into an array")
michael@0 47 XPC_MSG_DEF(NS_ERROR_XPC_NOT_ENOUGH_ELEMENTS_IN_ARRAY , "JavaScript Array does not have as many elements as indicated by size argument")
michael@0 48 XPC_MSG_DEF(NS_ERROR_XPC_CANT_GET_ARRAY_INFO , "Cannot find array information")
michael@0 49 XPC_MSG_DEF(NS_ERROR_XPC_NOT_ENOUGH_CHARS_IN_STRING , "JavaScript String does not have as many characters as indicated by size argument")
michael@0 50 XPC_MSG_DEF(NS_ERROR_XPC_SECURITY_MANAGER_VETO , "Security Manager vetoed action")
michael@0 51 XPC_MSG_DEF(NS_ERROR_XPC_INTERFACE_NOT_SCRIPTABLE , "Failed to build a wrapper because the interface that was not declared [scriptable]")
michael@0 52 XPC_MSG_DEF(NS_ERROR_XPC_INTERFACE_NOT_FROM_NSISUPPORTS , "Failed to build a wrapper because the interface does not inherit from nsISupports")
michael@0 53 XPC_MSG_DEF(NS_ERROR_XPC_CANT_GET_JSOBJECT_OF_DOM_OBJECT, "Cannot get JavaScript object for DOM object")
michael@0 54 XPC_MSG_DEF(NS_ERROR_XPC_CANT_SET_READ_ONLY_CONSTANT , "Property is a constant and cannot be changed")
michael@0 55 XPC_MSG_DEF(NS_ERROR_XPC_CANT_SET_READ_ONLY_ATTRIBUTE , "Property is a read only attribute and cannot be changed")
michael@0 56 XPC_MSG_DEF(NS_ERROR_XPC_CANT_SET_READ_ONLY_METHOD , "Property is an interface method and cannot be changed")
michael@0 57 XPC_MSG_DEF(NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE, "Cannot add property to WrappedNative object")
michael@0 58 XPC_MSG_DEF(NS_ERROR_XPC_CALL_TO_SCRIPTABLE_FAILED , "Call to nsIXPCScriptable interface for WrappedNative failed unexpecedly")
michael@0 59 XPC_MSG_DEF(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED , "JavaScript component does not have a method named:")
michael@0 60 XPC_MSG_DEF(NS_ERROR_XPC_BAD_ID_STRING , "Bad ID string")
michael@0 61 XPC_MSG_DEF(NS_ERROR_XPC_BAD_INITIALIZER_NAME , "Bad initializer name in Constructor - Component has no method with that name")
michael@0 62 XPC_MSG_DEF(NS_ERROR_XPC_HAS_BEEN_SHUTDOWN , "Operation failed because the XPConnect subsystem has been shutdown")
michael@0 63 XPC_MSG_DEF(NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN , "Cannot modify properties of a WrappedNative")
michael@0 64 XPC_MSG_DEF(NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL , "Could not convert JavaScript argument - 0 was passed, expected object. Did you mean null?")
michael@0 65 XPC_MSG_DEF(NS_ERROR_XPC_CANT_PASS_CPOW_TO_NATIVE , "It's illegal to pass a CPOW to native code")
michael@0 66
michael@0 67
michael@0 68 /* common global codes (from nsError.h) */
michael@0 69
michael@0 70 XPC_MSG_DEF(NS_OK , "Success")
michael@0 71 XPC_MSG_DEF(NS_ERROR_NOT_INITIALIZED , "Component not initialized")
michael@0 72 XPC_MSG_DEF(NS_ERROR_ALREADY_INITIALIZED , "Component already initialized")
michael@0 73 XPC_MSG_DEF(NS_ERROR_NOT_IMPLEMENTED , "Method not implemented")
michael@0 74 XPC_MSG_DEF(NS_NOINTERFACE , "Component does not have requested interface")
michael@0 75 XPC_MSG_DEF(NS_ERROR_NO_INTERFACE , "Component does not have requested interface")
michael@0 76 XPC_MSG_DEF(NS_ERROR_ILLEGAL_VALUE , "Illegal value")
michael@0 77 XPC_MSG_DEF(NS_ERROR_INVALID_POINTER , "Invalid pointer")
michael@0 78 XPC_MSG_DEF(NS_ERROR_NULL_POINTER , "Null pointer")
michael@0 79 XPC_MSG_DEF(NS_ERROR_ABORT , "Abort")
michael@0 80 XPC_MSG_DEF(NS_ERROR_FAILURE , "Failure")
michael@0 81 XPC_MSG_DEF(NS_ERROR_UNEXPECTED , "Unexpected error")
michael@0 82 XPC_MSG_DEF(NS_ERROR_OUT_OF_MEMORY , "Out of Memory")
michael@0 83 XPC_MSG_DEF(NS_ERROR_INVALID_ARG , "Invalid argument")
michael@0 84 XPC_MSG_DEF(NS_ERROR_NO_AGGREGATION , "Component does not support aggregation")
michael@0 85 XPC_MSG_DEF(NS_ERROR_NOT_AVAILABLE , "Component is not available")
michael@0 86 XPC_MSG_DEF(NS_ERROR_FACTORY_NOT_REGISTERED , "Factory not registered")
michael@0 87 XPC_MSG_DEF(NS_ERROR_FACTORY_REGISTER_AGAIN , "Factory not registered (may be tried again)")
michael@0 88 XPC_MSG_DEF(NS_ERROR_FACTORY_NOT_LOADED , "Factory not loaded")
michael@0 89 XPC_MSG_DEF(NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT , "Factory does not support signatures")
michael@0 90 XPC_MSG_DEF(NS_ERROR_FACTORY_EXISTS , "Factory already exists")
michael@0 91
michael@0 92 /* added from nsError.h on Feb 28 2001... */
michael@0 93
michael@0 94 XPC_MSG_DEF(NS_BASE_STREAM_CLOSED , "Stream closed")
michael@0 95 XPC_MSG_DEF(NS_BASE_STREAM_OSERROR , "Error from the operating system")
michael@0 96 XPC_MSG_DEF(NS_BASE_STREAM_ILLEGAL_ARGS , "Illegal arguments")
michael@0 97 XPC_MSG_DEF(NS_BASE_STREAM_NO_CONVERTER , "No converter for unichar streams")
michael@0 98 XPC_MSG_DEF(NS_BASE_STREAM_BAD_CONVERSION , "Bad converter for unichar streams")
michael@0 99 XPC_MSG_DEF(NS_BASE_STREAM_WOULD_BLOCK , "Stream would block")
michael@0 100
michael@0 101 XPC_MSG_DEF(NS_ERROR_FILE_UNRECOGNIZED_PATH , "File error: Unrecognized path")
michael@0 102 XPC_MSG_DEF(NS_ERROR_FILE_UNRESOLVABLE_SYMLINK , "File error: Unresolvable symlink")
michael@0 103 XPC_MSG_DEF(NS_ERROR_FILE_EXECUTION_FAILED , "File error: Execution failed")
michael@0 104 XPC_MSG_DEF(NS_ERROR_FILE_UNKNOWN_TYPE , "File error: Unknown type")
michael@0 105 XPC_MSG_DEF(NS_ERROR_FILE_DESTINATION_NOT_DIR , "File error: Destination not dir")
michael@0 106 XPC_MSG_DEF(NS_ERROR_FILE_TARGET_DOES_NOT_EXIST , "File error: Target does not exist")
michael@0 107 XPC_MSG_DEF(NS_ERROR_FILE_COPY_OR_MOVE_FAILED , "File error: Copy or move failed")
michael@0 108 XPC_MSG_DEF(NS_ERROR_FILE_ALREADY_EXISTS , "File error: Already exists")
michael@0 109 XPC_MSG_DEF(NS_ERROR_FILE_INVALID_PATH , "File error: Invalid path")
michael@0 110 XPC_MSG_DEF(NS_ERROR_FILE_DISK_FULL , "File error: Disk full")
michael@0 111 XPC_MSG_DEF(NS_ERROR_FILE_CORRUPTED , "File error: Corrupted")
michael@0 112 XPC_MSG_DEF(NS_ERROR_FILE_NOT_DIRECTORY , "File error: Not directory")
michael@0 113 XPC_MSG_DEF(NS_ERROR_FILE_IS_DIRECTORY , "File error: Is directory")
michael@0 114 XPC_MSG_DEF(NS_ERROR_FILE_IS_LOCKED , "File error: Is locked")
michael@0 115 XPC_MSG_DEF(NS_ERROR_FILE_TOO_BIG , "File error: Too big")
michael@0 116 XPC_MSG_DEF(NS_ERROR_FILE_NO_DEVICE_SPACE , "File error: No device space")
michael@0 117 XPC_MSG_DEF(NS_ERROR_FILE_NAME_TOO_LONG , "File error: Name too long")
michael@0 118 XPC_MSG_DEF(NS_ERROR_FILE_NOT_FOUND , "File error: Not found")
michael@0 119 XPC_MSG_DEF(NS_ERROR_FILE_READ_ONLY , "File error: Read only")
michael@0 120 XPC_MSG_DEF(NS_ERROR_FILE_DIR_NOT_EMPTY , "File error: Dir not empty")
michael@0 121 XPC_MSG_DEF(NS_ERROR_FILE_ACCESS_DENIED , "File error: Access denied")
michael@0 122
michael@0 123 /* added from nsError.h on Sept 6 2001... */
michael@0 124
michael@0 125 XPC_MSG_DEF(NS_ERROR_CANNOT_CONVERT_DATA , "Data conversion error")
michael@0 126 XPC_MSG_DEF(NS_ERROR_OBJECT_IS_IMMUTABLE , "Can not modify immutable data container")
michael@0 127 XPC_MSG_DEF(NS_ERROR_LOSS_OF_SIGNIFICANT_DATA , "Data conversion failed because significant data would be lost")
michael@0 128 XPC_MSG_DEF(NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA , "Data conversion succeeded but data was rounded to fit")
michael@0 129
michael@0 130 /* network related codes (from nsNetError.h) */
michael@0 131
michael@0 132 XPC_MSG_DEF(NS_BINDING_FAILED , "The async request failed for some unknown reason")
michael@0 133 XPC_MSG_DEF(NS_BINDING_ABORTED , "The async request failed because it was aborted by some user action")
michael@0 134 XPC_MSG_DEF(NS_BINDING_REDIRECTED , "The async request has been redirected to a different async request")
michael@0 135 XPC_MSG_DEF(NS_BINDING_RETARGETED , "The async request has been retargeted to a different handler")
michael@0 136 XPC_MSG_DEF(NS_ERROR_MALFORMED_URI , "The URI is malformed")
michael@0 137 XPC_MSG_DEF(NS_ERROR_UNKNOWN_PROTOCOL , "The URI scheme corresponds to an unknown protocol handler")
michael@0 138 XPC_MSG_DEF(NS_ERROR_NO_CONTENT , "Channel opened successfully but no data will be returned")
michael@0 139 XPC_MSG_DEF(NS_ERROR_IN_PROGRESS , "The requested action could not be completed while the object is busy")
michael@0 140 XPC_MSG_DEF(NS_ERROR_ALREADY_OPENED , "Channel is already open")
michael@0 141 XPC_MSG_DEF(NS_ERROR_INVALID_CONTENT_ENCODING , "The content encoding of the source document is incorrect")
michael@0 142 XPC_MSG_DEF(NS_ERROR_CORRUPTED_CONTENT , "Corrupted content was received from server")
michael@0 143 XPC_MSG_DEF(NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY, "Couldn't extract first component from potentially corrupted header field")
michael@0 144 XPC_MSG_DEF(NS_ERROR_ALREADY_CONNECTED , "The connection is already established")
michael@0 145 XPC_MSG_DEF(NS_ERROR_NOT_CONNECTED , "The connection does not exist")
michael@0 146 XPC_MSG_DEF(NS_ERROR_CONNECTION_REFUSED , "The connection was refused")
michael@0 147 XPC_MSG_DEF(NS_ERROR_PROXY_CONNECTION_REFUSED , "The connection to the proxy server was refused")
michael@0 148 XPC_MSG_DEF(NS_ERROR_NET_TIMEOUT , "The connection has timed out")
michael@0 149 XPC_MSG_DEF(NS_ERROR_OFFLINE , "The requested action could not be completed in the offline state")
michael@0 150 XPC_MSG_DEF(NS_ERROR_PORT_ACCESS_NOT_ALLOWED , "Establishing a connection to an unsafe or otherwise banned port was prohibited")
michael@0 151 XPC_MSG_DEF(NS_ERROR_NET_RESET , "The connection was established, but no data was ever received")
michael@0 152 XPC_MSG_DEF(NS_ERROR_NET_INTERRUPT , "The connection was established, but the data transfer was interrupted")
michael@0 153 XPC_MSG_DEF(NS_ERROR_NOT_RESUMABLE , "This request is not resumable, but it was tried to resume it, or to request resume-specific data")
michael@0 154 XPC_MSG_DEF(NS_ERROR_ENTITY_CHANGED , "It was attempted to resume the request, but the entity has changed in the meantime")
michael@0 155 XPC_MSG_DEF(NS_ERROR_REDIRECT_LOOP , "The request failed as a result of a detected redirection loop")
michael@0 156 XPC_MSG_DEF(NS_ERROR_UNSAFE_CONTENT_TYPE , "The request failed because the content type returned by the server was not a type expected by the channel")
michael@0 157 XPC_MSG_DEF(NS_ERROR_REMOTE_XUL , "Attempt to access remote XUL document that is not in website's whitelist")
michael@0 158
michael@0 159 XPC_MSG_DEF(NS_ERROR_FTP_LOGIN , "FTP error while logging in")
michael@0 160 XPC_MSG_DEF(NS_ERROR_FTP_CWD , "FTP error while changing directory")
michael@0 161 XPC_MSG_DEF(NS_ERROR_FTP_PASV , "FTP error while changing to passive mode")
michael@0 162 XPC_MSG_DEF(NS_ERROR_FTP_PWD , "FTP error while retrieving current directory")
michael@0 163 XPC_MSG_DEF(NS_ERROR_FTP_LIST , "FTP error while retrieving a directory listing")
michael@0 164 XPC_MSG_DEF(NS_ERROR_UNKNOWN_HOST , "The lookup of the hostname failed")
michael@0 165 XPC_MSG_DEF(NS_ERROR_DNS_LOOKUP_QUEUE_FULL , "The DNS lookup queue is full")
michael@0 166 XPC_MSG_DEF(NS_ERROR_UNKNOWN_PROXY_HOST , "The lookup of the proxy hostname failed")
michael@0 167 XPC_MSG_DEF(NS_ERROR_UNKNOWN_SOCKET_TYPE , "The specified socket type does not exist")
michael@0 168 XPC_MSG_DEF(NS_ERROR_SOCKET_CREATE_FAILED , "The specified socket type could not be created")
michael@0 169 XPC_MSG_DEF(NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED , "The specified socket address type is not supported")
michael@0 170 XPC_MSG_DEF(NS_ERROR_SOCKET_ADDRESS_IN_USE , "Some other socket is already using the specified address.")
michael@0 171 XPC_MSG_DEF(NS_ERROR_CACHE_KEY_NOT_FOUND , "Cache key could not be found")
michael@0 172 XPC_MSG_DEF(NS_ERROR_CACHE_DATA_IS_STREAM , "Cache data is a stream")
michael@0 173 XPC_MSG_DEF(NS_ERROR_CACHE_DATA_IS_NOT_STREAM , "Cache data is not a stream")
michael@0 174 XPC_MSG_DEF(NS_ERROR_CACHE_WAIT_FOR_VALIDATION , "Cache entry exists but needs to be validated first")
michael@0 175 XPC_MSG_DEF(NS_ERROR_CACHE_ENTRY_DOOMED , "Cache entry has been doomed")
michael@0 176 XPC_MSG_DEF(NS_ERROR_CACHE_READ_ACCESS_DENIED , "Read access to cache denied")
michael@0 177 XPC_MSG_DEF(NS_ERROR_CACHE_WRITE_ACCESS_DENIED , "Write access to cache denied")
michael@0 178 XPC_MSG_DEF(NS_ERROR_CACHE_IN_USE , "Cache is currently in use")
michael@0 179 XPC_MSG_DEF(NS_ERROR_DOCUMENT_NOT_CACHED , "Document does not exist in cache")
michael@0 180 XPC_MSG_DEF(NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS , "The requested number of domain levels exceeds those present in the host string")
michael@0 181 XPC_MSG_DEF(NS_ERROR_HOST_IS_IP_ADDRESS , "The host string is an IP address")
michael@0 182 XPC_MSG_DEF(NS_ERROR_NOT_SAME_THREAD , "Can't access a wrapped JS object from a different thread")
michael@0 183
michael@0 184 /* storage related codes (from mozStorage.h) */
michael@0 185 XPC_MSG_DEF(NS_ERROR_STORAGE_BUSY , "SQLite database connection is busy")
michael@0 186 XPC_MSG_DEF(NS_ERROR_STORAGE_IOERR , "SQLite encountered an IO error")
michael@0 187 XPC_MSG_DEF(NS_ERROR_STORAGE_CONSTRAINT , "SQLite database operation failed because a constraint was violated")
michael@0 188
michael@0 189 /* plugin related codes (from nsPluginError.h) */
michael@0 190 XPC_MSG_DEF(NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED, "Clearing site data by time range not supported by plugin")
michael@0 191
michael@0 192 /* character converter related codes (from nsIUnicodeDecoder.h) */
michael@0 193 XPC_MSG_DEF(NS_ERROR_ILLEGAL_INPUT , "The input characters have illegal sequences")
michael@0 194
michael@0 195 /* Codes related to signd jars */
michael@0 196 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_NOT_SIGNED , "The JAR is not signed.")
michael@0 197 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY , "An entry in the JAR has been modified after the JAR was signed.")
michael@0 198 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY , "An entry in the JAR has not been signed.")
michael@0 199 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_ENTRY_MISSING , "An entry is missing from the JAR file.")
michael@0 200 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_WRONG_SIGNATURE , "The JAR's signature is wrong.")
michael@0 201 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_ENTRY_TOO_LARGE , "An entry in the JAR is too large.")
michael@0 202 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_ENTRY_INVALID , "An entry in the JAR is invalid.")
michael@0 203 XPC_MSG_DEF(NS_ERROR_SIGNED_JAR_MANIFEST_INVALID , "The JAR's manifest or signature file is invalid.")
michael@0 204
michael@0 205 /* Codes for printing-related errors. */
michael@0 206 XPC_MSG_DEF(NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE , "No printers available.")
michael@0 207 XPC_MSG_DEF(NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND , "The selected printer could not be found.")
michael@0 208 XPC_MSG_DEF(NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE , "Failed to open output file for print to file.")
michael@0 209 XPC_MSG_DEF(NS_ERROR_GFX_PRINTER_STARTDOC , "Printing failed while starting the print job.")
michael@0 210 XPC_MSG_DEF(NS_ERROR_GFX_PRINTER_ENDDOC , "Printing failed while completing the print job.")
michael@0 211 XPC_MSG_DEF(NS_ERROR_GFX_PRINTER_STARTPAGE , "Printing failed while starting a new page.")
michael@0 212 XPC_MSG_DEF(NS_ERROR_GFX_PRINTER_DOC_IS_BUSY , "Cannot print this document yet, it is still being loaded.")
michael@0 213
michael@0 214 /* Codes related to content */
michael@0 215 XPC_MSG_DEF(NS_ERROR_CONTENT_CRASHED , "The process that hosted this content has crashed.")

mercurial