X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FProtocolError.java;h=f59d1fed563104347d835bb4ba321119581f74f7;hb=dd605aee444057a874fabf7fb0045b8448b0d1cd;hp=bc4629e3b58f07b3ea46d1b03eba036eb0e4f81a;hpb=f553531be78d6d6d95dc152728f2b8d40242b57d;p=jFCPlib.git
diff --git a/src/net/pterodactylus/fcp/ProtocolError.java b/src/net/pterodactylus/fcp/ProtocolError.java
index bc4629e..f59d1fe 100644
--- a/src/net/pterodactylus/fcp/ProtocolError.java
+++ b/src/net/pterodactylus/fcp/ProtocolError.java
@@ -1,6 +1,5 @@
/*
- * jSite2 - ProtocolError.java -
- * Copyright © 2008 David Roden
+ * jFCPlib - ProtocolError.java - Copyright © 2008 David Roden
*
* 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
@@ -21,15 +20,14 @@ package net.pterodactylus.fcp;
/**
* The âProtocolErrorâ message signals that something has gone really wrong.
- *
- * @author David Roden
- * @version $Id$
+ *
+ * @author David âBombeâ Roden <bombe@freenetproject.org>
*/
public class ProtocolError extends BaseMessage {
/**
* Creates a new âProtocolErrorâ message that wraps the received message.
- *
+ *
* @param receivedMessage
* The received message
*/
@@ -39,7 +37,7 @@ public class ProtocolError extends BaseMessage {
/**
* Returns whether the causing message had the âGlobalâ flag set.
- *
+ *
* @return true
if the causing message had the âGlobalâ flag
* set
*/
@@ -49,9 +47,9 @@ public class ProtocolError extends BaseMessage {
/**
* Returns the error code.
- *
- * @return The error code, or -1
if the error code could not
- * be parsed
+ *
+ * @return The error code, or -1
if the error code could not be
+ * parsed
*/
public int getCode() {
return FcpUtils.safeParseInt(getField("Code"));
@@ -59,7 +57,7 @@ public class ProtocolError extends BaseMessage {
/**
* Returns the description of the error.
- *
+ *
* @return The description of the error
*/
public String getCodeDescription() {
@@ -68,9 +66,9 @@ public class ProtocolError extends BaseMessage {
/**
* Returns some extra description of the error.
- *
- * @return Extra description of the error, or null
if there
- * is none
+ *
+ * @return Extra description of the error, or null
if there is
+ * none
*/
public String getExtraDescription() {
return getField("ExtraDescription");
@@ -78,7 +76,7 @@ public class ProtocolError extends BaseMessage {
/**
* Returns whether the connection to the node can stay open.
- *
+ *
* @return true
when the connection has to be closed,
* false
otherwise
*/
@@ -88,7 +86,7 @@ public class ProtocolError extends BaseMessage {
/**
* The identifier of the causing request, if any.
- *
+ *
* @return The identifier of the causing request
*/
public String getIdentifier() {