/*
- * Sone - GetLocalSonesCommand.java - Copyright © 2011 David Roden
+ * Sone - GetLocalSonesCommand.java - Copyright © 2011–2016 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
package net.pterodactylus.sone.fcp;
import net.pterodactylus.sone.core.Core;
-import net.pterodactylus.sone.freenet.fcp.FcpException;
import freenet.support.SimpleFieldSet;
import freenet.support.api.Bucket;
* {@inheritDoc}
*/
@Override
- public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException {
+ public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) {
return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones."));
}