From d5d0b91bc5597eec19520cee74569e9ddacc2090 Mon Sep 17 00:00:00 2001 From: Abhishek Koneru Date: Fri, 15 Jun 2012 10:28:40 -0400 Subject: Fixes for Coverity Issues of type Null Returns - Part 3 --- base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'base/common/src/com/netscape/certsrv/usrgrp') diff --git a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java index c101187c4..bbd051324 100644 --- a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java +++ b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java @@ -120,16 +120,18 @@ public interface IUGSubsystem extends ISubsystem, IUsrGrp { * * @param filter the search filter * @return a list of groups that match the given search filter + * @throws EUsrGrpException */ - public Enumeration findGroups(String filter); + public Enumeration findGroups(String filter) throws EUsrGrpException; /** * Find a group for the given name * * @param name the given name * @return a group that matched the given name + * @throws EUsrGrpException */ - public IGroup findGroup(String name); + public IGroup findGroup(String name) throws EUsrGrpException; /** * List groups. This method is more efficient than findGroups because -- cgit