diff --git a/guacamole-ext/src/main/java/org/glyptodon/guacamole/net/auth/ConnectionGroup.java b/guacamole-ext/src/main/java/org/glyptodon/guacamole/net/auth/ConnectionGroup.java index 21a1e8de6..97c66ad02 100644 --- a/guacamole-ext/src/main/java/org/glyptodon/guacamole/net/auth/ConnectionGroup.java +++ b/guacamole-ext/src/main/java/org/glyptodon/guacamole/net/auth/ConnectionGroup.java @@ -23,6 +23,7 @@ package org.glyptodon.guacamole.net.auth; import java.util.Set; +import org.glyptodon.guacamole.GuacamoleException; /** * Represents a connection group, which can contain both other connection groups @@ -106,8 +107,11 @@ public interface ConnectionGroup extends Identifiable, Connectable { * @return * The set of identifiers of all readable connections that are children * of this connection group. + * + * @throws GuacamoleException + * If an error occurs while retrieving the identifiers. */ - public Set getConnectionIdentifiers(); + public Set getConnectionIdentifiers() throws GuacamoleException; /** * Returns the identifiers of all readable connection groups that are @@ -116,8 +120,12 @@ public interface ConnectionGroup extends Identifiable, Connectable { * @return * The set of identifiers of all readable connection groups that are * children of this connection group. + * + * @throws GuacamoleException + * If an error occurs while retrieving the identifiers. */ - public Set getConnectionGroupIdentifiers(); + public Set getConnectionGroupIdentifiers() + throws GuacamoleException; }