projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow a command to throw an exception.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
freenet
/
fcp
/
Command.java
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
(file)
--- 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
* @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.
/**
* The access type of the request.