public enum InstallErrorCodes extends java.lang.Enum<InstallErrorCodes>
Not all errors may appear for every implementation of MEEP 8.
If for example discovery and download of application suites is not supported,
an error like JAD_SERVER_NOT_FOUND
is never applicable and
will never appear. Also all certification related codes can only appear
if authentification is certificate based of course.
Enum Constant and Description |
---|
ALREADY_INSTALLED
The JAD matches a version of a suite already installed.
|
APP_INTEGRITY_FAILURE_DEPENDENCY_CONFLICT
Application Integrity Failure: two or more dependencies on LIBlet
with same name and vendor, but different version or hash.
|
APP_INTEGRITY_FAILURE_DEPENDENCY_MISMATCH
Application Integrity Failure: LIBlet name or vendor mismatch
between LIBlet JAD and application/LIBlet JAD that depends on it.
|
APP_INTEGRITY_FAILURE_HASH_MISMATCH
Application Integrity Failure: hash mismatch.
|
APPLICATION_BLACKLISTED
Application blacklisted as decribed in
Install Status Codes and Messages table, code 922.
|
ATTRIBUTE_MISMATCH
An attribute in both the JAD and JAR manifest does not match.
|
AUTHENTICATION_FAILURE
Application authentication failure as decribed in
Install Status Codes and Messages table, code 909.
|
AUTHORIZATION_FAILURE
Application authorization failure as decribed in
Install Status Codes and Messages table, code 910.
|
CA_DISABLED
Indicates that trusted CA for this suite has been disabled for
software authorization.
|
CANCELLED
Cancelled.
|
CANNOT_AUTH
Server does not support basic authentication.
|
CIRCULAR_COMPONENT_DEPENDENCY
Circular dynamic component dependency.
|
CLIENT_BLACKLISTED
Client blacklisted as decribed in
Install Status Codes and Messages table, code 921.
|
COMPONENT_DEPS_LIMIT_EXCEEDED
Dynamic component dependencies limit exceeded.
|
CONTENT_HANDLER_CONFLICT
The installation of a content handler would
conflict with an already installed handler.
|
CORRUPT_DEPENDENCY_HASH
Corrupt dependency hash.
|
CORRUPT_JAR
An entry could not be read from the JAR.
|
CORRUPT_PROVIDER_CERT
The content provider certificate cannot be decoded.
|
CORRUPT_SIGNATURE
The JAR signature cannot be decoded.
|
DEVICE_INCOMPATIBLE
The device does not support either the configuration or
profile in the JAD.
|
DUPLICATED_KEY
Duplicated JAD/Manifest attribute.
|
EXPIRED_CA_KEY
The CA's public key has expired.
|
EXPIRED_PROVIDER_CERT
The content provider certificate is expired.
|
INSUFFICIENT_STORAGE
Not enough storage for this suite to be installed
|
INVALID_CONTENT_HANDLER
The
MicroEdition-Handler-<n> attribute has
invalid values. |
INVALID_JAD_TYPE
The server did not have a resource with the correct type
(code 406) or the JAD downloaded has the wrong media type.
|
INVALID_JAD_URL
The JAD URL is invalid.
|
INVALID_JAR_TYPE
The server did not have a resource with the correct type
(code 406) or the JAR downloaded has the wrong media type.
|
INVALID_JAR_URL
The JAR URL is invalid.
|
INVALID_KEY
A key for an attribute is not formatted correctly.
|
INVALID_NATIVE_LIBRARY
Native library contained within jar can't be loaded.
|
INVALID_PAYMENT_INFO
Indicates that the payment information provided with the application
suite is incomplete or incorrect.
|
INVALID_PROVIDER_CERT
The signature of the content provider certificate is invalid.
|
INVALID_SIGNATURE
The signature of the JAR is invalid.
|
INVALID_VALUE
A value for an attribute is not formatted correctly.
|
INVALID_VERSION
The format of the version is invalid.
|
IO_FILE_ERROR
Low level file error.
|
IO_NETWORK_ERROR
Low level network error.
|
JAD_MOVED
The JAD URL is for an installed suite but different than the
original JAD URL.
|
JAD_NOT_FOUND
The JAD was not found.
|
JAD_SERVER_NOT_FOUND
The server for the JAD was not found.
|
JAR_CLASSES_VERIFICATION_FAILED
Not all classes within JAR package can be successfully
verified with class verifier.
|
JAR_IS_LOCKED
Component or application suite is used by system.
|
JAR_NOT_FOUND
The JAR was not found at the URL given in the JAD.
|
JAR_SERVER_NOT_FOUND
The server for the JAR was not found at the URL given in
the JAD.
|
JAR_SIZE_MISMATCH
The JAR downloaded had not size as specified in the JAD.
|
LIBLET_NAMESPACE_COLLISION
LIBlet namespace collision.
|
MISSING_CONFIGURATION
The configuration is missing from the manifest.
|
MISSING_DEPENDENCY_HASH
Missing dependency hash.
|
MISSING_DEPENDENCY_JAD_URL
Missing dependency JAD URL.
|
MISSING_JAR_SIZE
The JAR size is missing.
|
MISSING_JAR_URL
The URL for the JAR is missing.
|
MISSING_PROFILE
The profile is missing from the manifest.
|
MISSING_PROVIDER_CERT
The content provider certificate is missing.
|
MISSING_SUITE_NAME
The name of application suite is missing.
|
MISSING_VENDOR
The vendor is missing.
|
MISSING_VERSION
The version is missing.
|
NEW_VERSION
This suite is newer than the one currently installed.
|
NO_ERROR
No error
|
OLD_VERSION
This suite is older than the one currently installed.
|
OTHER_ERROR
Other errors.
|
PROXY_AUTH
Indicates that authentication with the proxy is required.
|
PUSH_CLASS_FAILURE
The class in a push attribute is not in
MIDlet-<n>
attribute. |
PUSH_DUP_FAILURE
The connection in a push entry is already taken.
|
PUSH_FORMAT_FAILURE
The format of a push attribute has an invalid format.
|
PUSH_PROTO_FAILURE
The connection in a push attribute is not supported.
|
REVOKED_CERT
The certificate has been revoked.
|
SUITE_NAME_MISMATCH
The application suite name does not match the one in the JAR
manifest.
|
TOO_MANY_PROPS
Indicates that either the JAD or manifest has too many properties
to fit into memory.
|
TRUSTED_OVERWRITE_FAILURE
Indicates that it has been tried to overwrite a trusted suite
with an untrusted suite during an update.
|
UNAUTHORIZED
Web server authentication required or failed.
|
UNAUTHORIZED_INSTALL
The installation has been initiated from an application the necessary
SWMPermission has not been granted. |
UNKNOWN_CA
The CA that issued the content provider certificate is unknown.
|
UNKNOWN_CERT_STATUS
The certificate is unknown to OCSP server.
|
UNSUPPORTED_CERT
The content provider certificate has an unsupported version.
|
UNSUPPORTED_CHAR_ENCODING
Indicates that the character encoding specified in the MIME type
is not supported.
|
UNSUPPORTED_PAYMENT_INFO
Indicates that the payment information provided with the application
suite is incompatible with the current implementation.
|
UNTRUSTED_PAYMENT_SUITE
Indicates that the application suite has payment provisioning
information but it is not trusted.
|
VENDOR_MISMATCH
The vendor does not match the one in the JAR manifest.
|
VERSION_MISMATCH
The version does not match the one in the JAR manifest.
|
Modifier and Type | Method and Description |
---|---|
static InstallErrorCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstallErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstallErrorCodes NO_ERROR
public static final InstallErrorCodes JAD_SERVER_NOT_FOUND
public static final InstallErrorCodes JAD_NOT_FOUND
public static final InstallErrorCodes MISSING_PROVIDER_CERT
public static final InstallErrorCodes CORRUPT_PROVIDER_CERT
public static final InstallErrorCodes UNKNOWN_CA
public static final InstallErrorCodes INVALID_PROVIDER_CERT
public static final InstallErrorCodes CORRUPT_SIGNATURE
public static final InstallErrorCodes INVALID_SIGNATURE
public static final InstallErrorCodes UNSUPPORTED_CERT
public static final InstallErrorCodes EXPIRED_PROVIDER_CERT
public static final InstallErrorCodes EXPIRED_CA_KEY
public static final InstallErrorCodes MISSING_SUITE_NAME
public static final InstallErrorCodes MISSING_VENDOR
public static final InstallErrorCodes MISSING_VERSION
public static final InstallErrorCodes INVALID_VERSION
public static final InstallErrorCodes OLD_VERSION
public static final InstallErrorCodes MISSING_JAR_URL
public static final InstallErrorCodes JAR_SERVER_NOT_FOUND
public static final InstallErrorCodes JAR_NOT_FOUND
public static final InstallErrorCodes MISSING_JAR_SIZE
public static final InstallErrorCodes SUITE_NAME_MISMATCH
public static final InstallErrorCodes VERSION_MISMATCH
public static final InstallErrorCodes VENDOR_MISMATCH
public static final InstallErrorCodes INVALID_KEY
public static final InstallErrorCodes INVALID_VALUE
public static final InstallErrorCodes INSUFFICIENT_STORAGE
public static final InstallErrorCodes JAR_SIZE_MISMATCH
public static final InstallErrorCodes NEW_VERSION
public static final InstallErrorCodes UNAUTHORIZED
public static final InstallErrorCodes UNAUTHORIZED_INSTALL
SWMPermission
has not been granted. For an application trusted
by the same Client the scope of the SWMPermission
has to
be "client"
, if not, it has to be
"crossClient"
.public static final InstallErrorCodes JAD_MOVED
public static final InstallErrorCodes CANNOT_AUTH
public static final InstallErrorCodes CORRUPT_JAR
public static final InstallErrorCodes INVALID_JAD_TYPE
public static final InstallErrorCodes INVALID_JAR_TYPE
public static final InstallErrorCodes ALREADY_INSTALLED
public static final InstallErrorCodes DEVICE_INCOMPATIBLE
public static final InstallErrorCodes MISSING_CONFIGURATION
public static final InstallErrorCodes MISSING_PROFILE
public static final InstallErrorCodes INVALID_JAD_URL
public static final InstallErrorCodes INVALID_JAR_URL
public static final InstallErrorCodes PUSH_DUP_FAILURE
public static final InstallErrorCodes PUSH_FORMAT_FAILURE
public static final InstallErrorCodes PUSH_PROTO_FAILURE
public static final InstallErrorCodes PUSH_CLASS_FAILURE
MIDlet-<n>
attribute.public static final InstallErrorCodes AUTHORIZATION_FAILURE
public static final InstallErrorCodes AUTHENTICATION_FAILURE
public static final InstallErrorCodes CLIENT_BLACKLISTED
public static final InstallErrorCodes APPLICATION_BLACKLISTED
public static final InstallErrorCodes ATTRIBUTE_MISMATCH
public static final InstallErrorCodes PROXY_AUTH
public static final InstallErrorCodes TRUSTED_OVERWRITE_FAILURE
public static final InstallErrorCodes TOO_MANY_PROPS
public static final InstallErrorCodes INVALID_CONTENT_HANDLER
MicroEdition-Handler-<n>
attribute has
invalid values. The classname may be missing or there are too many
fields.public static final InstallErrorCodes CONTENT_HANDLER_CONFLICT
public static final InstallErrorCodes JAR_CLASSES_VERIFICATION_FAILED
public static final InstallErrorCodes UNSUPPORTED_PAYMENT_INFO
public static final InstallErrorCodes INVALID_PAYMENT_INFO
public static final InstallErrorCodes UNTRUSTED_PAYMENT_SUITE
public static final InstallErrorCodes CA_DISABLED
public static final InstallErrorCodes UNSUPPORTED_CHAR_ENCODING
public static final InstallErrorCodes REVOKED_CERT
public static final InstallErrorCodes UNKNOWN_CERT_STATUS
public static final InstallErrorCodes CIRCULAR_COMPONENT_DEPENDENCY
public static final InstallErrorCodes COMPONENT_DEPS_LIMIT_EXCEEDED
public static final InstallErrorCodes MISSING_DEPENDENCY_JAD_URL
public static final InstallErrorCodes MISSING_DEPENDENCY_HASH
public static final InstallErrorCodes APP_INTEGRITY_FAILURE_HASH_MISMATCH
public static final InstallErrorCodes APP_INTEGRITY_FAILURE_DEPENDENCY_CONFLICT
public static final InstallErrorCodes APP_INTEGRITY_FAILURE_DEPENDENCY_MISMATCH
public static final InstallErrorCodes CORRUPT_DEPENDENCY_HASH
public static final InstallErrorCodes LIBLET_NAMESPACE_COLLISION
public static final InstallErrorCodes INVALID_NATIVE_LIBRARY
public static final InstallErrorCodes JAR_IS_LOCKED
public static final InstallErrorCodes CANCELLED
public static final InstallErrorCodes IO_NETWORK_ERROR
public static final InstallErrorCodes IO_FILE_ERROR
public static final InstallErrorCodes DUPLICATED_KEY
public static final InstallErrorCodes OTHER_ERROR
public static InstallErrorCodes[] values()
for (InstallErrorCodes c : InstallErrorCodes.values()) System.out.println(c);
public static InstallErrorCodes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.