Oracle Java Wireless Client

com.sun.ams
Interface InstallerErrorCodes


public interface InstallerErrorCodes

Error codes provided by Installer. Originally was present at InvalidJadException class. Separated to use for public AMS API as well.


Field Summary
static int ALAA_ALIAS_NOT_FOUND
          (78) Missing alias definition
static int ALAA_ALIAS_WRONG
          (80) Wrong alias definition
static int ALAA_MULTIPLE_ALIAS
          (79) An alias has multiple entries that match
static int ALAA_TYPE_WRONG
          (77) Missing parameters in MIDlet-Access-Auth-Type-
static int ALREADY_INSTALLED
          (39) The JAD matches a version of a suite already installed.
static int APP_INTEGRITY_FAILURE_DEPENDENCY_CONFLICT
          (69) Application Integrity Failure: two or more dependencies with same name and vendor, but different version or hash.
static int APP_INTEGRITY_FAILURE_DEPENDENCY_MISMATCH
          (70) Application Integrity Failure: Component name or vendor mismatch between Component JAD and MIDlet/Component JAD that depends on it.
static int APP_INTEGRITY_FAILURE_HASH_MISMATCH
          (68) Application Integrity Failure: hash mismatch
static int ATTRIBUTE_MISMATCH
          (50) A attribute in both the JAD and JAR manifest does not match.
static int AUTHORIZATION_FAILURE
          (49) Application authorization failure.
static int CA_DISABLED
          (60) Indicates that trusted CA for this suite has been disable for software authorization.
static int CANCELED
          (101) Canceled by user
static int CANNOT_AUTH
          (35) Server does not support basic authentication.
static int CIRCULAR_COMPONENT_DEPENDENCY
          (64) Circular dynamic component dependency.
static int COMPONENT_DEPS_LIMIT_EXCEEDED
          (65) Dynamic component dependencies limit exceeded.
static int COMPONENT_NAMESPACE_COLLISION
          (72) Component namespace collision
static int CONTENT_HANDLER_CONFLICT
          (55) The installation of a content handler would conflict with an already installed handler.
static int CORRUPT_DEPENDENCY_HASH
          (71) Corrupt dependency hash
static int CORRUPT_JAR
          (36) An entry could not be read from the JAR.
static int CORRUPT_PROVIDER_CERT
          (5) The content provider certificate cannot be decoded.
static int CORRUPT_SIGNATURE
          (8) The JAR signature cannot be decoded.
static int DEVICE_INCOMPATIBLE
          (40) The device does not support either the configuration or profile in the JAD.
static int EXPIRED_CA_KEY
          (12) The CA's public key has expired.
static int EXPIRED_PROVIDER_CERT
          (11) The content provider certificate is expired.
static int INCORRECT_FONT_LOADING
          (82) Font that is contained with jar can't be loaded
static int INSUFFICIENT_STORAGE
          (30) Not enough storage for this suite to be installed The extra data will be storage needed for the suite in K bytes rounded up.
static int INVALID_CONTENT_HANDLER
          (54) The MicroEdition-Handler-<n> attribute has invalid values.
static int INVALID_JAD_TYPE
          (37) The server did not have a resource with the correct type (code 406) or the JAD downloaded has the wrong media type.
static int INVALID_JAD_URL
          (43) The JAD URL is invalid.
static int INVALID_JAR_TYPE
          (38) The server did not have a resource with the correct type (code 406) or the JAR downloaded has the wrong media type.
static int INVALID_JAR_URL
          (44) The JAR URL is invalid.
static int INVALID_KEY
          (28) A key for an attribute is not formatted correctly.
static int INVALID_NATIVE_LIBRARY
          (85) Native library contained within jar can't be loaded
static int INVALID_PAYMENT_INFO
          (58) Indicates that the payment information provided with the MIDlet suite is incomplete or incorrect.
static int INVALID_PROVIDER_CERT
          (7) The signature of the content provider certificate is invalid.
static int INVALID_RMS_DATA_TYPE
          (76) The server did not have a resource with the correct type (code 406) or the JAD downloaded has the wrong media type.
static int INVALID_RMS_DATA_URL
          (73) The RMS data file URL is invalid.
static int INVALID_SIGNATURE
          (9) The signature of the JAR is invalid.
static int INVALID_VALUE
          (29) A value for an attribute is not formatted correctly.
static int INVALID_VERSION
          (16) The format of the version is invalid.
static int IO_ERROR
          (102) Low level hardware error
static int JAD_MOVED
          (34) The JAD URL is for an installed suite but different than the original JAD URL.
static int JAD_NOT_FOUND
          (2) The JAD was not found.
static int JAD_SERVER_NOT_FOUND
          (1) The server for the JAD was not found.
static int JAR_CLASSES_VERIFICATION_FAILED
          (56) Not all classes within JAR package can be successfully verified with class verifier.
static int JAR_IS_LOCKED
          (100) Component or MIDlet suite is used by system.
static int JAR_NOT_FOUND
          (20) The JAR was not found at the URL given in the JAD.
static int JAR_SERVER_NOT_FOUND
          (19) The server for the JAR was not found at the URL given in the JAD.
static int JAR_SIZE_MISMATCH
          (31) The JAR downloaded was not size in the JAD.
static int MISSING_CONFIGURATION
          (41) The configuration is missing from the manifest.
static int MISSING_DEPENDENCY_HASH
          (67) Missing dependency hash
static int MISSING_DEPENDENCY_JAD_URL
          (66) Missing dependency JAD URL
static int MISSING_JAR_SIZE
          (21) The JAR size is missing.
static int MISSING_JAR_URL
          (18) The URL for the JAR is missing.
static int MISSING_PROFILE
          (42) The profile is missing from the manifest.
static int MISSING_PROVIDER_CERT
          (4) The content provider certificate is missing.
static int MISSING_SUITE_NAME
          (13) The name of MIDlet suite is missing.
static int MISSING_VENDOR
          (14) The vendor is missing.
static int MISSING_VERSION
          (15) The version is missing.
static int NEW_VERSION
          (32) This suite is newer that the one currently installed.
static int NO_ERROR
          (0) No error
static int OLD_VERSION
          (17) This suite is older that the one currently installed.
static int OTHER_ERROR
          (103) Other errors
static int PROXY_AUTH
          (51) Indicates that the user must first authenticate with the proxy.
static int PUSH_CLASS_FAILURE
          (48) The class in a push attribute is not in MIDlet-<n> attribute.
static int PUSH_DUP_FAILURE
          (45) The connection in a push entry is already taken.
static int PUSH_FORMAT_FAILURE
          (46) The format of a push attribute has an invalid format.
static int PUSH_PROTO_FAILURE
          (47) The connection in a push attribute is not supported.
static int REVOKED_CERT
          (62) The certificate has been revoked.
static int RMS_DATA_DECRYPT_PASSWORD
          (83) Indicates that password is required to decrypt RMS data
static int RMS_DATA_ENCRYPT_PASSWORD
          (84) Indicates that password is required to encrypt RMS data
static int RMS_DATA_NOT_FOUND
          (75) The RMS data file was not found at the specified URL
static int RMS_DATA_SERVER_NOT_FOUND
          (74) The server for the RMS data file was not found at the specified URL
static int RMS_INITIALIZATION_FAILURE
          (81) Failure to import RMS data
static int SUITE_NAME_MISMATCH
          (25) The MIDlet suite name does not match the one in the JAR manifest.
static int TOO_MANY_PROPS
          (53) Indicates that either the JAD or manifest has too many properties to fit into memory.
static int TRUSTED_OVERWRITE_FAILURE
          (52) Indicates that the user tried to overwrite a trusted suite with an untrusted suite during an update.
static int UNAUTHORIZED
          (33) Webserver authentication required or failed.
static int UNKNOWN_CA
          (6) The CA that issued the content provider certificate is unknown.
static int UNKNOWN_CERT_STATUS
          (63) The certificate is unknown to OCSP server.
static int UNSUPPORTED_CERT
          (10) The content provider certificate has an unsupported version.
static int UNSUPPORTED_CHAR_ENCODING
          (61) Indicates that the character encoding specified in the MIME type is not supported.
static int UNSUPPORTED_PAYMENT_INFO
          (57) Indicates that the payment information provided with the MIDlet suite is incompatible with the current implementation.
static int UNTRUSTED_PAYMENT_SUITE
          (59) Indicates that the MIDlet suite has payment provisioning information but it is not trusted.
static int VENDOR_MISMATCH
          (27) The vendor does not match the one in the JAR manifest.
static int VERSION_MISMATCH
          (26) The version does not match the one in the JAR manifest.
 

Field Detail

NO_ERROR

static final int NO_ERROR
(0) No error

See Also:
Constant Field Values

JAD_SERVER_NOT_FOUND

static final int JAD_SERVER_NOT_FOUND
(1) The server for the JAD was not found.

See Also:
Constant Field Values

JAD_NOT_FOUND

static final int JAD_NOT_FOUND
(2) The JAD was not found.

See Also:
Constant Field Values

MISSING_PROVIDER_CERT

static final int MISSING_PROVIDER_CERT
(4) The content provider certificate is missing.

See Also:
Constant Field Values

CORRUPT_PROVIDER_CERT

static final int CORRUPT_PROVIDER_CERT
(5) The content provider certificate cannot be decoded.

See Also:
Constant Field Values

UNKNOWN_CA

static final int UNKNOWN_CA
(6) The CA that issued the content provider certificate is unknown. The extra data will be the CA's name as a String.

See Also:
Constant Field Values

INVALID_PROVIDER_CERT

static final int INVALID_PROVIDER_CERT
(7) The signature of the content provider certificate is invalid. The extra data will be the subject's name as a String.

See Also:
Constant Field Values

CORRUPT_SIGNATURE

static final int CORRUPT_SIGNATURE
(8) The JAR signature cannot be decoded.

See Also:
Constant Field Values

INVALID_SIGNATURE

static final int INVALID_SIGNATURE
(9) The signature of the JAR is invalid.

See Also:
Constant Field Values

UNSUPPORTED_CERT

static final int UNSUPPORTED_CERT
(10) The content provider certificate has an unsupported version.

See Also:
Constant Field Values

EXPIRED_PROVIDER_CERT

static final int EXPIRED_PROVIDER_CERT
(11) The content provider certificate is expired. The extra data will be the subject's name as a String.

See Also:
Constant Field Values

EXPIRED_CA_KEY

static final int EXPIRED_CA_KEY
(12) The CA's public key has expired. The extra data will be the CA's name as a String.

See Also:
Constant Field Values

MISSING_SUITE_NAME

static final int MISSING_SUITE_NAME
(13) The name of MIDlet suite is missing.

See Also:
Constant Field Values

MISSING_VENDOR

static final int MISSING_VENDOR
(14) The vendor is missing.

See Also:
Constant Field Values

MISSING_VERSION

static final int MISSING_VERSION
(15) The version is missing.

See Also:
Constant Field Values

INVALID_VERSION

static final int INVALID_VERSION
(16) The format of the version is invalid.

See Also:
Constant Field Values

OLD_VERSION

static final int OLD_VERSION
(17) This suite is older that the one currently installed. The extra data is the installed version.

See Also:
Constant Field Values

MISSING_JAR_URL

static final int MISSING_JAR_URL
(18) The URL for the JAR is missing.

See Also:
Constant Field Values

JAR_SERVER_NOT_FOUND

static final int JAR_SERVER_NOT_FOUND
(19) The server for the JAR was not found at the URL given in the JAD. The extra data is the JAR URL.

See Also:
Constant Field Values

JAR_NOT_FOUND

static final int JAR_NOT_FOUND
(20) The JAR was not found at the URL given in the JAD. The extra data is the JAR URL.

See Also:
Constant Field Values

MISSING_JAR_SIZE

static final int MISSING_JAR_SIZE
(21) The JAR size is missing.

See Also:
Constant Field Values

SUITE_NAME_MISMATCH

static final int SUITE_NAME_MISMATCH
(25) The MIDlet suite name does not match the one in the JAR manifest.

See Also:
Constant Field Values

VERSION_MISMATCH

static final int VERSION_MISMATCH
(26) The version does not match the one in the JAR manifest.

See Also:
Constant Field Values

VENDOR_MISMATCH

static final int VENDOR_MISMATCH
(27) The vendor does not match the one in the JAR manifest.

See Also:
Constant Field Values

INVALID_KEY

static final int INVALID_KEY
(28) A key for an attribute is not formatted correctly. The extra data is the key or the line of the attribute.

See Also:
Constant Field Values

INVALID_VALUE

static final int INVALID_VALUE
(29) A value for an attribute is not formatted correctly. The extra data is the key of the attribute.

See Also:
Constant Field Values

INSUFFICIENT_STORAGE

static final int INSUFFICIENT_STORAGE
(30) Not enough storage for this suite to be installed The extra data will be storage needed for the suite in K bytes rounded up.

See Also:
Constant Field Values

JAR_SIZE_MISMATCH

static final int JAR_SIZE_MISMATCH
(31) The JAR downloaded was not size in the JAD.

See Also:
Constant Field Values

NEW_VERSION

static final int NEW_VERSION
(32) This suite is newer that the one currently installed. The extra data is the installed version.

See Also:
Constant Field Values

UNAUTHORIZED

static final int UNAUTHORIZED
(33) Webserver authentication required or failed.

See Also:
Constant Field Values

JAD_MOVED

static final int JAD_MOVED
(34) The JAD URL is for an installed suite but different than the original JAD URL. The extra data will be previous JAD URL.

See Also:
Constant Field Values

CANNOT_AUTH

static final int CANNOT_AUTH
(35) Server does not support basic authentication.

See Also:
Constant Field Values

CORRUPT_JAR

static final int CORRUPT_JAR
(36) An entry could not be read from the JAR. The extra data is the entry name.

See Also:
Constant Field Values

INVALID_JAD_TYPE

static final int INVALID_JAD_TYPE
(37) The server did not have a resource with the correct type (code 406) or the JAD downloaded has the wrong media type. In the second case the extra data is the Media-Type from the response.

See Also:
Constant Field Values

INVALID_JAR_TYPE

static final int INVALID_JAR_TYPE
(38) The server did not have a resource with the correct type (code 406) or the JAR downloaded has the wrong media type. In the second case the extra data is the Media-Type from the response.

See Also:
Constant Field Values

ALREADY_INSTALLED

static final int ALREADY_INSTALLED
(39) The JAD matches a version of a suite already installed. The extra data is the installed version.

See Also:
Constant Field Values

DEVICE_INCOMPATIBLE

static final int DEVICE_INCOMPATIBLE
(40) The device does not support either the configuration or profile in the JAD.

See Also:
Constant Field Values

MISSING_CONFIGURATION

static final int MISSING_CONFIGURATION
(41) The configuration is missing from the manifest.

See Also:
Constant Field Values

MISSING_PROFILE

static final int MISSING_PROFILE
(42) The profile is missing from the manifest.

See Also:
Constant Field Values

INVALID_JAD_URL

static final int INVALID_JAD_URL
(43) The JAD URL is invalid.

See Also:
Constant Field Values

INVALID_JAR_URL

static final int INVALID_JAR_URL
(44) The JAR URL is invalid. The extra data is the JAR URL.

See Also:
Constant Field Values

PUSH_DUP_FAILURE

static final int PUSH_DUP_FAILURE
(45) The connection in a push entry is already taken. The extra data is the URL of the failed connection.

See Also:
Constant Field Values

PUSH_FORMAT_FAILURE

static final int PUSH_FORMAT_FAILURE
(46) The format of a push attribute has an invalid format. The extra data is the URL of the failed connection.

See Also:
Constant Field Values

PUSH_PROTO_FAILURE

static final int PUSH_PROTO_FAILURE
(47) The connection in a push attribute is not supported. The extra data is the URL of the failed connection.

See Also:
Constant Field Values

PUSH_CLASS_FAILURE

static final int PUSH_CLASS_FAILURE
(48) The class in a push attribute is not in MIDlet-<n> attribute. The extra data is the URL of the failed connection.

See Also:
Constant Field Values

AUTHORIZATION_FAILURE

static final int AUTHORIZATION_FAILURE
(49) Application authorization failure. The extra data is the name of the permission.

See Also:
Constant Field Values

ATTRIBUTE_MISMATCH

static final int ATTRIBUTE_MISMATCH
(50) A attribute in both the JAD and JAR manifest does not match. For trusted suites only. The extra data is the name of the attribute.

See Also:
Constant Field Values

PROXY_AUTH

static final int PROXY_AUTH
(51) Indicates that the user must first authenticate with the proxy.

See Also:
Constant Field Values

TRUSTED_OVERWRITE_FAILURE

static final int TRUSTED_OVERWRITE_FAILURE
(52) Indicates that the user tried to overwrite a trusted suite with an untrusted suite during an update. The extra data is the name of signer of the current version.

See Also:
Constant Field Values

TOO_MANY_PROPS

static final int TOO_MANY_PROPS
(53) Indicates that either the JAD or manifest has too many properties to fit into memory.

See Also:
Constant Field Values

INVALID_CONTENT_HANDLER

static final int INVALID_CONTENT_HANDLER
(54) The MicroEdition-Handler-<n> attribute has invalid values. The classname may be missing or there are too many fields

See Also:
Constant Field Values

CONTENT_HANDLER_CONFLICT

static final int CONTENT_HANDLER_CONFLICT
(55) The installation of a content handler would conflict with an already installed handler.

See Also:
Constant Field Values

JAR_CLASSES_VERIFICATION_FAILED

static final int JAR_CLASSES_VERIFICATION_FAILED
(56) Not all classes within JAR package can be successfully verified with class verifier.

See Also:
Constant Field Values

UNSUPPORTED_PAYMENT_INFO

static final int UNSUPPORTED_PAYMENT_INFO
(57) Indicates that the payment information provided with the MIDlet suite is incompatible with the current implementation.

See Also:
Constant Field Values

INVALID_PAYMENT_INFO

static final int INVALID_PAYMENT_INFO
(58) Indicates that the payment information provided with the MIDlet suite is incomplete or incorrect.

See Also:
Constant Field Values

UNTRUSTED_PAYMENT_SUITE

static final int UNTRUSTED_PAYMENT_SUITE
(59) Indicates that the MIDlet suite has payment provisioning information but it is not trusted.

See Also:
Constant Field Values

CA_DISABLED

static final int CA_DISABLED
(60) Indicates that trusted CA for this suite has been disable for software authorization. The extra data contains the CA's name.

See Also:
Constant Field Values

UNSUPPORTED_CHAR_ENCODING

static final int UNSUPPORTED_CHAR_ENCODING
(61) Indicates that the character encoding specified in the MIME type is not supported.

See Also:
Constant Field Values

REVOKED_CERT

static final int REVOKED_CERT
(62) The certificate has been revoked. The extra data will be the subject's name as a String.

See Also:
Constant Field Values

UNKNOWN_CERT_STATUS

static final int UNKNOWN_CERT_STATUS
(63) The certificate is unknown to OCSP server. The extra data will be the subject's name as a String.

See Also:
Constant Field Values

CIRCULAR_COMPONENT_DEPENDENCY

static final int CIRCULAR_COMPONENT_DEPENDENCY
(64) Circular dynamic component dependency.

See Also:
Constant Field Values

COMPONENT_DEPS_LIMIT_EXCEEDED

static final int COMPONENT_DEPS_LIMIT_EXCEEDED
(65) Dynamic component dependencies limit exceeded.

See Also:
Constant Field Values

MISSING_DEPENDENCY_JAD_URL

static final int MISSING_DEPENDENCY_JAD_URL
(66) Missing dependency JAD URL

See Also:
Constant Field Values

MISSING_DEPENDENCY_HASH

static final int MISSING_DEPENDENCY_HASH
(67) Missing dependency hash

See Also:
Constant Field Values

APP_INTEGRITY_FAILURE_HASH_MISMATCH

static final int APP_INTEGRITY_FAILURE_HASH_MISMATCH
(68) Application Integrity Failure: hash mismatch

See Also:
Constant Field Values

APP_INTEGRITY_FAILURE_DEPENDENCY_CONFLICT

static final int APP_INTEGRITY_FAILURE_DEPENDENCY_CONFLICT
(69) Application Integrity Failure: two or more dependencies with same name and vendor, but different version or hash.

See Also:
Constant Field Values

APP_INTEGRITY_FAILURE_DEPENDENCY_MISMATCH

static final int APP_INTEGRITY_FAILURE_DEPENDENCY_MISMATCH
(70) Application Integrity Failure: Component name or vendor mismatch between Component JAD and MIDlet/Component JAD that depends on it.

See Also:
Constant Field Values

CORRUPT_DEPENDENCY_HASH

static final int CORRUPT_DEPENDENCY_HASH
(71) Corrupt dependency hash

See Also:
Constant Field Values

COMPONENT_NAMESPACE_COLLISION

static final int COMPONENT_NAMESPACE_COLLISION
(72) Component namespace collision

See Also:
Constant Field Values

INVALID_RMS_DATA_URL

static final int INVALID_RMS_DATA_URL
(73) The RMS data file URL is invalid.

See Also:
Constant Field Values

RMS_DATA_SERVER_NOT_FOUND

static final int RMS_DATA_SERVER_NOT_FOUND
(74) The server for the RMS data file was not found at the specified URL

See Also:
Constant Field Values

RMS_DATA_NOT_FOUND

static final int RMS_DATA_NOT_FOUND
(75) The RMS data file was not found at the specified URL

See Also:
Constant Field Values

INVALID_RMS_DATA_TYPE

static final int INVALID_RMS_DATA_TYPE
(76) The server did not have a resource with the correct type (code 406) or the JAD downloaded has the wrong media type. In the second case the extra data is the Media-Type from the response.

See Also:
Constant Field Values

ALAA_TYPE_WRONG

static final int ALAA_TYPE_WRONG
(77) Missing parameters in MIDlet-Access-Auth-Type-

See Also:
Constant Field Values

ALAA_ALIAS_NOT_FOUND

static final int ALAA_ALIAS_NOT_FOUND
(78) Missing alias definition

See Also:
Constant Field Values

ALAA_MULTIPLE_ALIAS

static final int ALAA_MULTIPLE_ALIAS
(79) An alias has multiple entries that match

See Also:
Constant Field Values

ALAA_ALIAS_WRONG

static final int ALAA_ALIAS_WRONG
(80) Wrong alias definition

See Also:
Constant Field Values

RMS_INITIALIZATION_FAILURE

static final int RMS_INITIALIZATION_FAILURE
(81) Failure to import RMS data

See Also:
Constant Field Values

INCORRECT_FONT_LOADING

static final int INCORRECT_FONT_LOADING
(82) Font that is contained with jar can't be loaded

See Also:
Constant Field Values

RMS_DATA_DECRYPT_PASSWORD

static final int RMS_DATA_DECRYPT_PASSWORD
(83) Indicates that password is required to decrypt RMS data

See Also:
Constant Field Values

RMS_DATA_ENCRYPT_PASSWORD

static final int RMS_DATA_ENCRYPT_PASSWORD
(84) Indicates that password is required to encrypt RMS data

See Also:
Constant Field Values

INVALID_NATIVE_LIBRARY

static final int INVALID_NATIVE_LIBRARY
(85) Native library contained within jar can't be loaded

See Also:
Constant Field Values

JAR_IS_LOCKED

static final int JAR_IS_LOCKED
(100) Component or MIDlet suite is used by system. The user has to kill running application before update.

See Also:
Constant Field Values

CANCELED

static final int CANCELED
(101) Canceled by user

See Also:
Constant Field Values

IO_ERROR

static final int IO_ERROR
(102) Low level hardware error

See Also:
Constant Field Values

OTHER_ERROR

static final int OTHER_ERROR
(103) Other errors

See Also:
Constant Field Values

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.