From bbabfec4da4ef3824f27d1cc5ba5dcf4d54ff8da Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 23 Feb 2015 15:37:23 -0800 Subject: [PATCH] GUAC-1100: Identifier retrieval should possibly throw an exception. --- .../guacamole/net/auth/ConnectionGroup.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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; }