Expose lots of constructors and accessors
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / ProtocolError.java
index f59d1fe..80d8487 100644 (file)
@@ -31,7 +31,7 @@ public class ProtocolError extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       ProtocolError(FcpMessage receivedMessage) {
+       public ProtocolError(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
@@ -48,8 +48,8 @@ public class ProtocolError extends BaseMessage {
        /**
         * Returns the error code.
         *
-        * @return The error code, or <code>-1</code> if the error code could not be
-        *         parsed
+        * @return The error code, or <code>-1</code> if the error code could not
+        *         be parsed
         */
        public int getCode() {
                return FcpUtils.safeParseInt(getField("Code"));