18.2.13 EADsStoreException class
- Organization of this subsection
(1) Description
This exception class is returned when processing related to a data operation fails.
Use getErrorCode() to obtain an error code to determine the nature of the error.
(2) Inheritance relationship
java.lang.Object java.lang.Throwable java.lang.Exception com.hitachi.software.xeads.func.store.EADsStoreException
(3) Format
public class EADsStoreException extends Exception
(4) List of methods
The following table lists and describes the methods provided by the EADsStoreException class:
Method name |
Description |
---|---|
Acquires an error code for an exception that has occurred. |
(5) getErrorCode()
(a) Description
This method acquires an error code for an exception that has occurred.
(b) Format
public int getErrorCode()
(c) Return value
This method returns an error code as a return value. The following table lists the error codes and describes the nature and cause of the errors:
Error code |
Error code literal |
Exception class |
Nature of error |
Cause of error |
Processing status of data updating API method# |
---|---|---|---|---|---|
1000 |
EADsStoreException |
An unexpected error occurred. |
An unexpected error occurred within the program. |
U |
|
1010 |
UserOperationException |
A specified parameter is invalid. |
An invalid parameter was specified in the API method argument. |
N |
|
1050 |
UserOperationException |
The serialization processing failed. |
An object that cannot be serialized is specified in the API method argument. |
N |
|
1060 |
UserOperationException |
The deserialization processing failed. |
The object acquired from the EADS server could not be deserialized. Possible causes are as follows:
|
-- |
|
1130 |
UserOperationException |
No cache with the specified cache name has been created. |
No cache with the specified cache name has been created. |
-- |
|
1140 |
UserOperationException |
An API method that is not supported with the current cache settings was executed. |
The executed API method attempted to acquire unavailable information from the cache. |
-- |
|
4000 |
InternalServerException |
An internal error that cannot be classified by the EADS server occurred. |
An internal error occurred on the EADS server. Normally, this error code is not returned. It is returned when the details about the cause of the error cannot be obtained for one of the following reasons:
|
U |
|
4060 |
InternalServerException |
The value could not be stored because the value stored during execution of replace()did not match comparativeValue. |
The value specified in the condition in replace() did not match a value in the cache. |
N |
|
4070 |
InternalServerException |
replace() was executed, but the value could not be stored because the specified key did not exist (the value associated with the key did not exist). |
Values could not be compared because the value associated with the key specified in replace() did not exist. |
N |
|
4080 |
InternalServerException |
create() was executed, but the value could not be stored because the key had already been stored. |
The value associated with the key specified in create() has already been stored. |
N |
|
4090 |
InternalServerException |
update() was executed, but the value could not be stored because the stored key did not exist. |
The value associated with the key specified in update() has not been stored. |
N |
|
4200 |
InternalServerException |
A cache operation failed. |
A cache operation was disabled because a problem occurred on the EADS server that is executing the user function. Stop the operation and check the EADS server's status. |
N |
|
4220 |
InternalServerException |
A cache operation failed because the cluster is not available. |
A cache operation was disabled because the cluster was not available due to a problem on another EADS server or a network failure. Stop the operation and check the status of all EADS servers that make up the cluster. |
N |
|
4300 |
InternalServerException |
An internal error occurred during a cache operation, but redundant copies of data had not been created. |
During a cache operation, an internal error occurred on the EADS server that was executing the user function. No other normal EADS servers are affected because redundant copies of data had not been created. After the EADS server is isolated, you can restart the same operation on a normal EADS server. |
N |
|
4310 |
InternalServerException |
An internal error occurred on the EADS server during a cache operation and the data update operation failed. |
During a cache operation, an internal error occurred on the EADS server that was executing the user function. Because redundant copies of data have already been created, after the erroneous EADS server is isolated, you can resume the operation on a normal server from the status in which data had been updated. |
U |
|
4800 |
InternalServerException |
There is a shortage of memory for storing data. |
The processing could not be performed because the memory for storing data (explicit heap) was insufficient. |
N |
|
4810 |
InternalServerException |
There is a shortage of capacity in the cache files for storing data. |
The request could not be processed because the capacity of cache files for storing data was insufficient. |
N |
|
4820 |
InternalServerException |
The number of keys that can be stored has reached the upper limit. |
The processing could not be performed because the number of keys that can be stored had reached the upper limit. |
N |
|
4830 |
InternalServerException |
The size of the specified key, group name, or value is greater than the maximum size permitted in the cluster. |
The processing could not be performed because the size of the specified key, group name, or value was greater than the maximum size permitted in the cluster. |
N |
- #
-
Indicates whether data updating had occurred when an error code was issued during execution of an API method for updating data, such as put() or remove().
The meanings of the letters in this column are as follows:
U: Whether the data was updated is unknown. Check whether the processing was completed.
N: The data has not been updated.
--: This error code is not issued when an API method for updating data, such as put() or remove(), is executed.
(d) Notes
If a deprecated API method is used, the error code might not be classified in detail.