* 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.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class PutFailed extends BaseMessage {
/**
* Creates a new “PutFailed” message that wraps the received message.
- *
+ *
* @param receivedMessage
* The received message
*/
/**
* Returns the code of the error.
- *
+ *
* @return The code of the error, or <code>-1</code> if the error code could
* not be parsed
*/
/**
* Returns the identifier of the request.
- *
+ *
* @return The identifier of the request
*/
public String getIdentifier() {
/**
* Returns whether the request is on the global 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 the description of the error code.
- *
+ *
* @return The description of the error code
*/
public String getCodeDescription() {
/**
* Returns the extra description of the error.
- *
+ *
* @return The extra description of the error
*/
public String getExtraDescription() {
/**
* Returns the short description of the error.
- *
+ *
* @return The short description of the error
*/
public String getShortCodeDescription() {
/**
* Returns the expected URI of the request.
- *
+ *
* @return The expected URI
*/
public String getExpectedURI() {
/**
* 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
*/
* 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() {
/**
* Returns the description of the complex error. You should only hand it
* error codes you got from {@link #getComplexErrorCodes()}!
- *
+ *
* @param errorCode
* The error code
* @return The description of the complex error
/**
* Returns the count of the complex error. You should only hand it error
* codes you got from {@link #getComplexErrorCodes()}!
- *
+ *
* @param errorCode
* The error code
* @return The count of the complex error, or <code>-1</code> if the count