Skip to content

Commit f1505ea

Browse files
committed
Gateway: tweak javadoc
1 parent 090d38a commit f1505ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/scijava/Gateway.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public interface Gateway extends Contextual {
9999
*
100100
* @param serviceClass the requested {@link Service}
101101
* @return The singleton instance of the given class
102+
* @throws NullContextException if the application context is not set.
102103
* @throws NoSuchServiceException if there is no service of the given class.
103104
*/
104105
<S extends Service> S get(Class<S> serviceClass);
@@ -109,8 +110,9 @@ public interface Gateway extends Contextual {
109110
*
110111
* @param serviceClassName name of the requested {@link Service}
111112
* @return The singleton instance of the requested {@link Service}
113+
* @throws NullContextException if the application context is not set.
112114
* @throws NoSuchServiceException if there is no service matching
113-
* serviceClassName.
115+
* {@code serviceClassName}.
114116
*/
115117
Service get(final String serviceClassName);
116118

0 commit comments

Comments
 (0)