*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* The “PutFailed” message signals the client that a {@link ClientPut} request
* has failed. This also means that no further progress messages for that
* request will be sent.
* The “PutFailed” message signals the client that a {@link ClientPut} request
* has failed. This also means that no further progress messages for that
* request will be sent.
*/
public class PutFailed extends BaseMessage {
/**
* Creates a new “PutFailed” message that wraps the received message.
*/
public class PutFailed extends BaseMessage {
/**
* Creates a new “PutFailed” message that wraps the received message.
* @return <code>true</code> if the request is on the global queue,
* <code>false</code> if it is on the client-local queue
*/
* @return <code>true</code> if the request is on the global queue,
* <code>false</code> if it is on the client-local queue
*/
/**
* Returns whether the request failed fatally. If a request fails fatally it
* can never complete, even with inifinite retries.
/**
* Returns whether the request failed fatally. If a request fails fatally it
* can never complete, even with inifinite retries.
* @return <code>true</code> if the request failed fatally,
* <code>false</code> otherwise
*/
* @return <code>true</code> if the request failed fatally,
* <code>false</code> otherwise
*/
* Returns a list of complex error codes with the message. Use
* {@link #getComplexErrorDescription(int)} and
* {@link #getComplexErrorCount(int)} to get details.
* Returns a list of complex error codes with the message. Use
* {@link #getComplexErrorDescription(int)} and
* {@link #getComplexErrorCount(int)} to get details.
* @return A list of complex error codes
*/
public int[] getComplexErrorCodes() {
Map<String, String> allFields = getFields();
List<Integer> errorCodeList = new ArrayList<Integer>();
* @return A list of complex error codes
*/
public int[] getComplexErrorCodes() {
Map<String, String> allFields = getFields();
List<Integer> errorCodeList = new ArrayList<Integer>();
String fieldKey = field.getKey();
if (fieldKey.startsWith("Errors.")) {
int nextDot = fieldKey.indexOf('.', 7);
String fieldKey = field.getKey();
if (fieldKey.startsWith("Errors.")) {
int nextDot = fieldKey.indexOf('.', 7);
/**
* Returns the description of the complex error. You should only hand it
* error codes you got from {@link #getComplexErrorCodes()}!
/**
* Returns the description of the complex error. You should only hand it
* error codes you got from {@link #getComplexErrorCodes()}!
/**
* Returns the count of the complex error. You should only hand it error
* codes you got from {@link #getComplexErrorCodes()}!
/**
* Returns the count of the complex error. You should only hand it error
* codes you got from {@link #getComplexErrorCodes()}!