X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Ffcp%2FCommand.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Ffcp%2FCommand.java;h=07fb7a4f7b01a0c99c0aed6c1eedbdc8bbf20728;hb=35aeb7dde28426cb1b22c91d90444d95c22d4edc;hp=a4284aa32eb3dff23d038e9bd3f721bb6f2f9bf7;hpb=ce0518078df705a4740fe196f645f59feffe1a95;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java b/src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java index a4284aa..07fb7a4 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java +++ b/src/main/java/net/pterodactylus/sone/freenet/fcp/Command.java @@ -39,8 +39,10 @@ public interface Command { * @param accessType * The access type * @return A reply to send back to the plugin + * @throws FcpException + * if an error processing the parameters occurs */ - public Reply execute(SimpleFieldSet parameters, Bucket data, AccessType accessType); + public Reply execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException; /** * The access type of the request.