Skip to content

Commit bdaaa0f

Browse files
committed
Add missing Javadoc
1 parent 736c33a commit bdaaa0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spring-graphql/src/main/java/org/springframework/graphql/client/SubscriptionErrorException.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
import graphql.GraphQLError;
2222

2323
/**
24+
* Exception that is sent as an error signal to a {@code Flux} returned from
25+
* {@link GraphQlClient} or from its underlying {@link GraphQlTransport} for a
26+
* GraphQL over WebSocket subscription that ends with an "error" message.
2427
*
2528
* @author Rossen Stoyanchev
2629
* @since 1.0.0
@@ -37,6 +40,9 @@ public SubscriptionErrorException(List<GraphQLError> errors) {
3740
}
3841

3942

43+
/**
44+
* Return the errors contained in the GraphQL over WebSocket "errors" message.
45+
*/
4046
public List<GraphQLError> getErrors() {
4147
return this.errors;
4248
}

0 commit comments

Comments
 (0)