|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.novell.ecb.CommandException
|
+--com.novell.ecb.secretstore.SecretStoreException
Wraps the underlying exception object or error message along with error code.
| Field Summary | |
static int |
ACCESS_DENIED
Access to the target SecretStore has been denied. |
static int |
ATTR_NOT_FOUND
One of the optional service attributes is not instantiated. |
static int |
ATTR_VAL_NOT_FOUND
Target attribute is not instantiated in Novell eDirectory. |
static int |
BETA_EXPIRED
Product's BETA life has expired. |
static int |
BUFFER_LEN
Size of the buffer is not in a nominal range between minimum and maximum. |
static int |
CONFIG_NOT_SUPPORTED
No server to support the given override configuration is found. |
static int |
CONN_ACCESS_FAILURE
Access to server connection failed. |
static int |
CORRUPTED_PACKET_DATA
Protocol data corrupted on the wire. |
static int |
CORRUPTED_STORE
SecretStore data on the server has been corrupted. |
static int |
CRYPTO_OP_FAILURE
Cryptographic operation failed. |
static int |
ENUM_BUFF_TOO_LONG
Size of the enumeration buffer exceeds the limit. |
static int |
ENUM_BUFF_TOO_SHORT
Length of the Enumeration buffer too short. |
static int |
EP_ACCESS_DENIED
Enhanced protection password validation failed. |
static int |
INCOMPATIBLE_VERSION
Client and server components are not of the compatible versions. |
static int |
INVALID_PARAM
API parameter is not initialized. |
static int |
INVALID_SECRET_ID
Secret ID is not in the User Secret Store. |
static int |
INVALID_TARGET_OBJECT
Target eDirectory User object not found. |
static int |
MIGRATION_NEEDED
Server has been upgraded and user SecretStore should be updated. |
static int |
MP_PWORD_INVALID
Master password could not be verified to read or unlock the secrets. |
static int |
MP_PWORD_NOT_ALLOWED
Ability to use master password has been disabled. |
static int |
MP_PWORD_NOT_SET
Master password has not been set on the SecretStore. |
static int |
NDS_INTERNAL_FAILURE
Some internal eDirectory services have not been available. |
static int |
NDS_PWORD_CHANGED
User eDirectory password has been changed by the administrator. |
static int |
NDS_PWORD_INVALID
Typed in eDirectory password not valid. |
static int |
NEED_SECURE_CHANNEL
Connection to SecretStore needs to be over SSL. |
static int |
NICI_FAILURE
NICI operations have failed. |
static int |
NICI_OUTOF_SYNC
Session keys of the client and server NICI are out of sync. |
static int |
NO_CODE
No error code. |
static int |
NOT_AUTHENTICATED
User not authenticated. |
static int |
NOT_IMPLEMENTED
Feature not implemented yet. |
static int |
NOT_SUPPORTED
Not supported operations. |
static int |
OBJECT_NOT_FOUND
Can't find the target object DN in eDirectory. |
static int |
SCHEMA_NOT_EXTENDED
Schema is not extended to support SecreStore on the target tree. |
static int |
SECRET_BUFF_TOO_LONG
Size of the Secret buffer exceeds the limit. |
static int |
SECRET_ID_EXISTS
Secret ID already exists in the Secret Store. |
static int |
SECRET_ID_TOO_LONG
Length of the Secret ID buffer exceeds the limit. |
static int |
SECRET_ID_TOO_SHORT
Length of the Secret ID should be greater than zero. |
static int |
SECRET_UNINITIALIZED
Secret has not been initialized with a write. |
static int |
SERVER_CONN_FAILURE
Opening a connection to the server failed. |
static int |
SERVICE_NOT_FOUND
SecretStore not on the Network. |
static int |
SERVICE_NOT_SUPPORTED
Requested service not supported yet. |
static int |
STORE_NOT_FOUND
Target eDirectory User object does not have a SecretStore. |
static int |
STORE_NOT_LOCKED
Attempt to unlock SecretStore failed because the store is not locked. |
static int |
SYSTEM_FAILURE
Some internal operating system services have not been available. |
static int |
TOKEN_NOT_SUPPORTED
NDS authentication type not supported. |
static int |
TRANSPORT_FAILURE
Connection to server is lost. |
static int |
UNICODE_OP_FAILURE
Unicode text conversion operation failed. |
static int |
WRONG_REPLICA_TYPE
Not a writeable replica of eDirectory. |
| Constructor Summary | |
SecretStoreException(java.lang.String message)
Constructs a SecretStoreException object. |
|
SecretStoreException(java.lang.String message,
int errorCode)
Constructs a SecretStoreException object and sets the error description and error code. |
|
SecretStoreException(java.lang.String message,
java.lang.Throwable rootCause)
Constructs a SecretStoreException object and sets the cause of exception and error description. |
|
SecretStoreException(java.lang.String message,
java.lang.Throwable rootCause,
int errorCode)
Constructs a SecretStoreException object and sets the cause of exception, error code and error description. |
|
| Method Summary | |
int |
getErrorCode()
Returns the error code returned by the server or local error code. |
| Methods inherited from class com.novell.ecb.CommandException |
getRootCause, printCauseStackTrace, printCauseStackTrace, printCauseStackTrace, setRootCause |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NO_CODE
public static final int ACCESS_DENIED
public static final int ATTR_NOT_FOUND
public static final int ATTR_VAL_NOT_FOUND
public static final int BETA_EXPIRED
public static final int BUFFER_LEN
public static final int CONFIG_NOT_SUPPORTED
public static final int CONN_ACCESS_FAILURE
public static final int CORRUPTED_PACKET_DATA
public static final int CORRUPTED_STORE
public static final int CRYPTO_OP_FAILURE
public static final int ENUM_BUFF_TOO_LONG
public static final int ENUM_BUFF_TOO_SHORT
public static final int EP_ACCESS_DENIED
public static final int INCOMPATIBLE_VERSION
public static final int INVALID_PARAM
public static final int INVALID_SECRET_ID
public static final int INVALID_TARGET_OBJECT
public static final int MIGRATION_NEEDED
public static final int MP_PWORD_INVALID
public static final int MP_PWORD_NOT_ALLOWED
public static final int MP_PWORD_NOT_SET
public static final int NDS_INTERNAL_FAILURE
public static final int NDS_PWORD_CHANGED
public static final int NDS_PWORD_INVALID
public static final int NEED_SECURE_CHANNEL
public static final int NICI_FAILURE
public static final int NICI_OUTOF_SYNC
public static final int NOT_AUTHENTICATED
public static final int NOT_IMPLEMENTED
public static final int NOT_SUPPORTED
public static final int OBJECT_NOT_FOUND
public static final int SCHEMA_NOT_EXTENDED
public static final int SECRET_BUFF_TOO_LONG
public static final int SECRET_ID_EXISTS
public static final int SECRET_ID_TOO_LONG
public static final int SECRET_ID_TOO_SHORT
public static final int SECRET_UNINITIALIZED
public static final int SERVER_CONN_FAILURE
public static final int SERVICE_NOT_FOUND
public static final int SERVICE_NOT_SUPPORTED
public static final int STORE_NOT_FOUND
public static final int STORE_NOT_LOCKED
public static final int SYSTEM_FAILURE
public static final int TOKEN_NOT_SUPPORTED
public static final int TRANSPORT_FAILURE
public static final int UNICODE_OP_FAILURE
public static final int WRONG_REPLICA_TYPE
| Constructor Detail |
public SecretStoreException(java.lang.String message)
message - A description of the exception.
public SecretStoreException(java.lang.String message,
int errorCode)
message - A description of the exception.errorCode - An error code returned by the server.
public SecretStoreException(java.lang.String message,
java.lang.Throwable rootCause)
message - A description of the exception.rootCause - The underlying exception object.
public SecretStoreException(java.lang.String message,
java.lang.Throwable rootCause,
int errorCode)
message - A description of the exception.rootCause - The underlying exception object.errorCode - An error code returned by the server.| Method Detail |
public int getErrorCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||