Skip to content

Commit

Permalink
permission exception for user id buyer add
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximvdw committed Mar 29, 2018
1 parent 9020879 commit 00495ba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.List;

import be.maximvdw.spigotsite.api.exceptions.ConnectionFailedException;
import be.maximvdw.spigotsite.api.exceptions.PermissionException;
import be.maximvdw.spigotsite.api.user.User;

/**
Expand Down Expand Up @@ -157,7 +158,7 @@ List<Buyer> getPremiumResourceBuyers(PremiumResource resource,
* @param userid User identifier
* @throws ConnectionFailedException Connection to Spigot failed
*/
void addBuyer(PremiumResource resource, User user, int userid) throws ConnectionFailedException;
void addBuyer(PremiumResource resource, User user, int userid) throws ConnectionFailedException, PermissionException;

/**
* Add a buyer to a spigot premium resource
Expand Down

0 comments on commit 00495ba

Please sign in to comment.