Revert "Remove unneeded exception declarations on methods in NotImplemented"

This broke the gerrit-rest-java-client.

This reverts commit 5b1538b710.

Change-Id: Id56b44729e3df6beee0c2cecab0978e79a1d8b84
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin 2017-06-29 18:06:13 +00:00
parent d3d45184e2
commit d471904237
20 changed files with 206 additions and 200 deletions

View File

@ -105,167 +105,170 @@ public interface AccountApi {
*/
class NotImplemented implements AccountApi {
@Override
public AccountInfo get() {
public AccountInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public boolean getActive() {
public boolean getActive() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void setActive(boolean active) {
public void setActive(boolean active) throws RestApiException {
throw new NotImplementedException();
}
@Override
public String getAvatarUrl(int size) {
public String getAvatarUrl(int size) throws RestApiException {
throw new NotImplementedException();
}
@Override
public GeneralPreferencesInfo getPreferences() {
public GeneralPreferencesInfo getPreferences() throws RestApiException {
throw new NotImplementedException();
}
@Override
public GeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in) {
public GeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in)
throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffPreferencesInfo getDiffPreferences() {
public DiffPreferencesInfo getDiffPreferences() throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) {
public DiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public EditPreferencesInfo getEditPreferences() {
public EditPreferencesInfo getEditPreferences() throws RestApiException {
throw new NotImplementedException();
}
@Override
public EditPreferencesInfo setEditPreferences(EditPreferencesInfo in) {
public EditPreferencesInfo setEditPreferences(EditPreferencesInfo in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<ProjectWatchInfo> getWatchedProjects() {
public List<ProjectWatchInfo> getWatchedProjects() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<ProjectWatchInfo> setWatchedProjects(List<ProjectWatchInfo> in) {
public List<ProjectWatchInfo> setWatchedProjects(List<ProjectWatchInfo> in)
throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteWatchedProjects(List<ProjectWatchInfo> in) {
public void deleteWatchedProjects(List<ProjectWatchInfo> in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void starChange(String changeId) {
public void starChange(String changeId) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void unstarChange(String changeId) {
public void unstarChange(String changeId) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void setStars(String changeId, StarsInput input) {
public void setStars(String changeId, StarsInput input) throws RestApiException {
throw new NotImplementedException();
}
@Override
public SortedSet<String> getStars(String changeId) {
public SortedSet<String> getStars(String changeId) throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<ChangeInfo> getStarredChanges() {
public List<ChangeInfo> getStarredChanges() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<EmailInfo> getEmails() {
public List<EmailInfo> getEmails() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void addEmail(EmailInput input) {
public void addEmail(EmailInput input) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteEmail(String email) {
public void deleteEmail(String email) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void setStatus(String status) {
public void setStatus(String status) throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<SshKeyInfo> listSshKeys() {
public List<SshKeyInfo> listSshKeys() throws RestApiException {
throw new NotImplementedException();
}
@Override
public SshKeyInfo addSshKey(String key) {
public SshKeyInfo addSshKey(String key) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteSshKey(int seq) {
public void deleteSshKey(int seq) throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, GpgKeyInfo> putGpgKeys(List<String> add, List<String> remove) {
public Map<String, GpgKeyInfo> putGpgKeys(List<String> add, List<String> remove)
throws RestApiException {
throw new NotImplementedException();
}
@Override
public GpgKeyApi gpgKey(String id) {
public GpgKeyApi gpgKey(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, GpgKeyInfo> listGpgKeys() {
public Map<String, GpgKeyInfo> listGpgKeys() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<AgreementInfo> listAgreements() {
public List<AgreementInfo> listAgreements() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void signAgreement(String agreementName) {
public void signAgreement(String agreementName) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void index() {
public void index() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<AccountExternalIdInfo> getExternalIds() {
public List<AccountExternalIdInfo> getExternalIds() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteExternalIds(List<String> externalIds) {
public void deleteExternalIds(List<String> externalIds) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -204,47 +204,47 @@ public interface Accounts {
*/
class NotImplemented implements Accounts {
@Override
public AccountApi id(String id) {
public AccountApi id(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountApi id(int id) {
public AccountApi id(int id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountApi self() {
public AccountApi self() throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountApi create(String username) {
public AccountApi create(String username) throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountApi create(AccountInput input) {
public AccountApi create(AccountInput input) throws RestApiException {
throw new NotImplementedException();
}
@Override
public SuggestAccountsRequest suggestAccounts() {
public SuggestAccountsRequest suggestAccounts() throws RestApiException {
throw new NotImplementedException();
}
@Override
public SuggestAccountsRequest suggestAccounts(String query) {
public SuggestAccountsRequest suggestAccounts(String query) throws RestApiException {
throw new NotImplementedException();
}
@Override
public QueryRequest query() {
public QueryRequest query() throws RestApiException {
throw new NotImplementedException();
}
@Override
public QueryRequest query(String query) {
public QueryRequest query(String query) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -29,12 +29,12 @@ public interface GpgKeyApi {
*/
class NotImplemented implements GpgKeyApi {
@Override
public GpgKeyInfo get() {
public GpgKeyInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void delete() {
public void delete() throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -257,223 +257,224 @@ public interface ChangeApi {
}
@Override
public RevisionApi current() {
public RevisionApi current() throws RestApiException {
throw new NotImplementedException();
}
@Override
public RevisionApi revision(int id) {
public RevisionApi revision(int id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ReviewerApi reviewer(String id) {
public ReviewerApi reviewer(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public RevisionApi revision(String id) {
public RevisionApi revision(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void abandon() {
public void abandon() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void abandon(AbandonInput in) {
public void abandon(AbandonInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void restore() {
public void restore() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void restore(RestoreInput in) {
public void restore(RestoreInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void move(String destination) {
public void move(String destination) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void move(MoveInput in) {
public void move(MoveInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi revert() {
public ChangeApi revert() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi revert(RevertInput in) {
public ChangeApi revert(RevertInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void publish() {
public void publish() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void rebase() {
public void rebase() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void rebase(RebaseInput in) {
public void rebase(RebaseInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void delete() {
public void delete() throws RestApiException {
throw new NotImplementedException();
}
@Override
public String topic() {
public String topic() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void topic(String topic) {
public void topic(String topic) throws RestApiException {
throw new NotImplementedException();
}
@Override
public IncludedInInfo includedIn() {
public IncludedInInfo includedIn() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void addReviewer(AddReviewerInput in) {
public void addReviewer(AddReviewerInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void addReviewer(String in) {
public void addReviewer(String in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public SuggestedReviewersRequest suggestReviewers() {
public SuggestedReviewersRequest suggestReviewers() throws RestApiException {
throw new NotImplementedException();
}
@Override
public SuggestedReviewersRequest suggestReviewers(String query) {
public SuggestedReviewersRequest suggestReviewers(String query) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeInfo get(EnumSet<ListChangesOption> options) {
public ChangeInfo get(EnumSet<ListChangesOption> options) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeInfo get() {
public ChangeInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeInfo info() {
public ChangeInfo info() throws RestApiException {
throw new NotImplementedException();
}
@Override
public EditInfo getEdit() {
public EditInfo getEdit() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeEditApi edit() {
public ChangeEditApi edit() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void setHashtags(HashtagsInput input) {
public void setHashtags(HashtagsInput input) throws RestApiException {
throw new NotImplementedException();
}
@Override
public Set<String> getHashtags() {
public Set<String> getHashtags() throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountInfo setAssignee(AssigneeInput input) {
public AccountInfo setAssignee(AssigneeInput input) throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountInfo getAssignee() {
public AccountInfo getAssignee() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<AccountInfo> getPastAssignees() {
public List<AccountInfo> getPastAssignees() throws RestApiException {
throw new NotImplementedException();
}
@Override
public AccountInfo deleteAssignee() {
public AccountInfo deleteAssignee() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, List<CommentInfo>> comments() {
public Map<String, List<CommentInfo>> comments() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, List<RobotCommentInfo>> robotComments() {
public Map<String, List<RobotCommentInfo>> robotComments() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, List<CommentInfo>> drafts() {
public Map<String, List<CommentInfo>> drafts() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeInfo check() {
public ChangeInfo check() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeInfo check(FixInput fix) {
public ChangeInfo check(FixInput fix) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void index() {
public void index() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<ChangeInfo> submittedTogether() {
public List<ChangeInfo> submittedTogether() throws RestApiException {
throw new NotImplementedException();
}
@Override
public SubmittedTogetherInfo submittedTogether(EnumSet<SubmittedTogetherOption> options) {
public SubmittedTogetherInfo submittedTogether(EnumSet<SubmittedTogetherOption> options)
throws RestApiException {
throw new NotImplementedException();
}
@Override
public SubmittedTogetherInfo submittedTogether(
EnumSet<ListChangesOption> a, EnumSet<SubmittedTogetherOption> b) {
EnumSet<ListChangesOption> a, EnumSet<SubmittedTogetherOption> b) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeInfo createMergePatchSet(MergePatchSetInput in) {
public ChangeInfo createMergePatchSet(MergePatchSetInput in) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -138,22 +138,22 @@ public interface Changes {
*/
class NotImplemented implements Changes {
@Override
public ChangeApi id(int id) {
public ChangeApi id(int id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi id(String triplet) {
public ChangeApi id(String triplet) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi id(String project, String branch, String id) {
public ChangeApi id(String project, String branch, String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi create(ChangeInput in) {
public ChangeApi create(ChangeInput in) throws RestApiException {
throw new NotImplementedException();
}

View File

@ -27,7 +27,7 @@ public interface CommentApi {
*/
class NotImplemented implements CommentApi {
@Override
public CommentInfo get() {
public CommentInfo get() throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -29,12 +29,12 @@ public interface DraftApi extends CommentApi {
*/
class NotImplemented extends CommentApi.NotImplemented implements DraftApi {
@Override
public CommentInfo update(DraftInput in) {
public CommentInfo update(DraftInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void delete() {
public void delete() throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -89,27 +89,27 @@ public interface FileApi {
*/
class NotImplemented implements FileApi {
@Override
public BinaryResult content() {
public BinaryResult content() throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffInfo diff() {
public DiffInfo diff() throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffInfo diff(String base) {
public DiffInfo diff(String base) throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffInfo diff(int parent) {
public DiffInfo diff(int parent) throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffRequest diffRequest() {
public DiffRequest diffRequest() throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -36,27 +36,27 @@ public interface ReviewerApi {
*/
class NotImplemented implements ReviewerApi {
@Override
public Map<String, Short> votes() {
public Map<String, Short> votes() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteVote(String label) {
public void deleteVote(String label) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteVote(DeleteVoteInput input) {
public void deleteVote(DeleteVoteInput input) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void remove() {
public void remove() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void remove(DeleteReviewerInput input) {
public void remove(DeleteReviewerInput input) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -140,87 +140,87 @@ public interface RevisionApi {
*/
class NotImplemented implements RevisionApi {
@Override
public void delete() {
public void delete() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void review(ReviewInput in) {
public void review(ReviewInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void submit() {
public void submit() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void submit(SubmitInput in) {
public void submit(SubmitInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void publish() {
public void publish() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi cherryPick(CherryPickInput in) {
public ChangeApi cherryPick(CherryPickInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi rebase() {
public ChangeApi rebase() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChangeApi rebase(RebaseInput in) {
public ChangeApi rebase(RebaseInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public boolean canRebase() {
public boolean canRebase() throws RestApiException {
throw new NotImplementedException();
}
@Override
public RevisionReviewerApi reviewer(String id) {
public RevisionReviewerApi reviewer(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void setReviewed(String path, boolean reviewed) {
public void setReviewed(String path, boolean reviewed) throws RestApiException {
throw new NotImplementedException();
}
@Override
public Set<String> reviewed() {
public Set<String> reviewed() throws RestApiException {
throw new NotImplementedException();
}
@Override
public MergeableInfo mergeable() {
public MergeableInfo mergeable() throws RestApiException {
throw new NotImplementedException();
}
@Override
public MergeableInfo mergeableOtherBranches() {
public MergeableInfo mergeableOtherBranches() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, FileInfo> files(String base) {
public Map<String, FileInfo> files(String base) throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, FileInfo> files(int parentNum) {
public Map<String, FileInfo> files(int parentNum) throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, FileInfo> files() {
public Map<String, FileInfo> files() throws RestApiException {
throw new NotImplementedException();
}
@ -230,107 +230,107 @@ public interface RevisionApi {
}
@Override
public Map<String, List<CommentInfo>> comments() {
public Map<String, List<CommentInfo>> comments() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, List<RobotCommentInfo>> robotComments() {
public Map<String, List<RobotCommentInfo>> robotComments() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<CommentInfo> commentsAsList() {
public List<CommentInfo> commentsAsList() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<CommentInfo> draftsAsList() {
public List<CommentInfo> draftsAsList() throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<RobotCommentInfo> robotCommentsAsList() {
public List<RobotCommentInfo> robotCommentsAsList() throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, List<CommentInfo>> drafts() {
public Map<String, List<CommentInfo>> drafts() throws RestApiException {
throw new NotImplementedException();
}
@Override
public DraftApi createDraft(DraftInput in) {
public DraftApi createDraft(DraftInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public DraftApi draft(String id) {
public DraftApi draft(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public CommentApi comment(String id) {
public CommentApi comment(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public RobotCommentApi robotComment(String id) {
public RobotCommentApi robotComment(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public BinaryResult patch() {
public BinaryResult patch() throws RestApiException {
throw new NotImplementedException();
}
@Override
public BinaryResult patch(String path) {
public BinaryResult patch(String path) throws RestApiException {
throw new NotImplementedException();
}
@Override
public Map<String, ActionInfo> actions() {
public Map<String, ActionInfo> actions() throws RestApiException {
throw new NotImplementedException();
}
@Override
public SubmitType submitType() {
public SubmitType submitType() throws RestApiException {
throw new NotImplementedException();
}
@Override
public BinaryResult submitPreview() {
public BinaryResult submitPreview() throws RestApiException {
throw new NotImplementedException();
}
@Override
public BinaryResult submitPreview(String format) {
public BinaryResult submitPreview(String format) throws RestApiException {
throw new NotImplementedException();
}
@Override
public SubmitType testSubmitType(TestSubmitRuleInput in) {
public SubmitType testSubmitType(TestSubmitRuleInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public MergeListRequest getMergeList() {
public MergeListRequest getMergeList() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void description(String description) {
public void description(String description) throws RestApiException {
throw new NotImplementedException();
}
@Override
public String description() {
public String description() throws RestApiException {
throw new NotImplementedException();
}
@Override
public String etag() {
public String etag() throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -31,17 +31,17 @@ public interface RevisionReviewerApi {
*/
class NotImplemented implements RevisionReviewerApi {
@Override
public Map<String, Short> votes() {
public Map<String, Short> votes() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteVote(String label) {
public void deleteVote(String label) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteVote(DeleteVoteInput input) {
public void deleteVote(DeleteVoteInput input) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -27,7 +27,7 @@ public interface RobotCommentApi {
*/
class NotImplemented implements RobotCommentApi {
@Override
public RobotCommentInfo get() {
public RobotCommentInfo get() throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -40,32 +40,34 @@ public interface Server {
*/
class NotImplemented implements Server {
@Override
public String getVersion() {
public String getVersion() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ServerInfo getInfo() {
public ServerInfo getInfo() throws RestApiException {
throw new NotImplementedException();
}
@Override
public GeneralPreferencesInfo getDefaultPreferences() {
public GeneralPreferencesInfo getDefaultPreferences() throws RestApiException {
throw new NotImplementedException();
}
@Override
public GeneralPreferencesInfo setDefaultPreferences(GeneralPreferencesInfo in) {
public GeneralPreferencesInfo setDefaultPreferences(GeneralPreferencesInfo in)
throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffPreferencesInfo getDefaultDiffPreferences() {
public DiffPreferencesInfo getDefaultDiffPreferences() throws RestApiException {
throw new NotImplementedException();
}
@Override
public DiffPreferencesInfo setDefaultDiffPreferences(DiffPreferencesInfo in) {
public DiffPreferencesInfo setDefaultDiffPreferences(DiffPreferencesInfo in)
throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -155,57 +155,57 @@ public interface GroupApi {
*/
class NotImplemented implements GroupApi {
@Override
public GroupInfo get() {
public GroupInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public GroupInfo detail() {
public GroupInfo detail() throws RestApiException {
throw new NotImplementedException();
}
@Override
public String name() {
public String name() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void name(String name) {
public void name(String name) throws RestApiException {
throw new NotImplementedException();
}
@Override
public GroupInfo owner() {
public GroupInfo owner() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void owner(String owner) {
public void owner(String owner) throws RestApiException {
throw new NotImplementedException();
}
@Override
public String description() {
public String description() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void description(String description) {
public void description(String description) throws RestApiException {
throw new NotImplementedException();
}
@Override
public GroupOptionsInfo options() {
public GroupOptionsInfo options() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void options(GroupOptionsInfo options) {
public void options(GroupOptionsInfo options) throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<AccountInfo> members() {
public List<AccountInfo> members() throws RestApiException {
throw new NotImplementedException();
}
@ -215,27 +215,27 @@ public interface GroupApi {
}
@Override
public void addMembers(String... members) {
public void addMembers(String... members) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void removeMembers(String... members) {
public void removeMembers(String... members) throws RestApiException {
throw new NotImplementedException();
}
@Override
public List<GroupInfo> includedGroups() {
public List<GroupInfo> includedGroups() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void addGroups(String... groups) {
public void addGroups(String... groups) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void removeGroups(String... groups) {
public void removeGroups(String... groups) throws RestApiException {
throw new NotImplementedException();
}
@ -245,7 +245,7 @@ public interface GroupApi {
}
@Override
public void index() {
public void index() throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -271,17 +271,17 @@ public interface Groups {
*/
class NotImplemented implements Groups {
@Override
public GroupApi id(String id) {
public GroupApi id(String id) throws RestApiException {
throw new NotImplementedException();
}
@Override
public GroupApi create(String name) {
public GroupApi create(String name) throws RestApiException {
throw new NotImplementedException();
}
@Override
public GroupApi create(GroupInput input) {
public GroupApi create(GroupInput input) throws RestApiException {
throw new NotImplementedException();
}

View File

@ -34,22 +34,22 @@ public interface BranchApi {
*/
class NotImplemented implements BranchApi {
@Override
public BranchApi create(BranchInput in) {
public BranchApi create(BranchInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public BranchInfo get() {
public BranchInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void delete() {
public void delete() throws RestApiException {
throw new NotImplementedException();
}
@Override
public BinaryResult file(String path) {
public BinaryResult file(String path) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -29,12 +29,12 @@ public interface ChildProjectApi {
*/
class NotImplemented implements ChildProjectApi {
@Override
public ProjectInfo get() {
public ProjectInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectInfo get(boolean recursive) {
public ProjectInfo get(boolean recursive) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -130,47 +130,47 @@ public interface ProjectApi {
*/
class NotImplemented implements ProjectApi {
@Override
public ProjectApi create() {
public ProjectApi create() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectApi create(ProjectInput in) {
public ProjectApi create(ProjectInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectInfo get() {
public ProjectInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public String description() {
public String description() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectAccessInfo access() {
public ProjectAccessInfo access() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ConfigInfo config() {
public ConfigInfo config() throws RestApiException {
throw new NotImplementedException();
}
@Override
public ConfigInfo config(ConfigInput in) {
public ConfigInfo config(ConfigInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectAccessInfo access(ProjectAccessInput p) {
public ProjectAccessInfo access(ProjectAccessInput p) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void description(DescriptionInput in) {
public void description(DescriptionInput in) throws RestApiException {
throw new NotImplementedException();
}
@ -190,32 +190,32 @@ public interface ProjectApi {
}
@Override
public List<ProjectInfo> children(boolean recursive) {
public List<ProjectInfo> children(boolean recursive) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ChildProjectApi child(String name) {
public ChildProjectApi child(String name) throws RestApiException {
throw new NotImplementedException();
}
@Override
public BranchApi branch(String ref) {
public BranchApi branch(String ref) throws RestApiException {
throw new NotImplementedException();
}
@Override
public TagApi tag(String ref) {
public TagApi tag(String ref) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteBranches(DeleteBranchesInput in) {
public void deleteBranches(DeleteBranchesInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public void deleteTags(DeleteTagsInput in) {
public void deleteTags(DeleteTagsInput in) throws RestApiException {
throw new NotImplementedException();
}
}

View File

@ -177,17 +177,17 @@ public interface Projects {
*/
class NotImplemented implements Projects {
@Override
public ProjectApi name(String name) {
public ProjectApi name(String name) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectApi create(ProjectInput in) {
public ProjectApi create(ProjectInput in) throws RestApiException {
throw new NotImplementedException();
}
@Override
public ProjectApi create(String name) {
public ProjectApi create(String name) throws RestApiException {
throw new NotImplementedException();
}

View File

@ -30,17 +30,17 @@ public interface TagApi {
*/
class NotImplemented implements TagApi {
@Override
public TagApi create(TagInput input) {
public TagApi create(TagInput input) throws RestApiException {
throw new NotImplementedException();
}
@Override
public TagInfo get() {
public TagInfo get() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void delete() {
public void delete() throws RestApiException {
throw new NotImplementedException();
}
}