Skip to content

Commit 0cf2c4f

Browse files
committed
Drop deprecated method in ExceptionResolversExceptionHandler
Closes gh-711
1 parent 3c6d8fb commit 0cf2c4f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

spring-graphql/src/main/java/org/springframework/graphql/execution/ExceptionResolversExceptionHandler.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -61,13 +61,6 @@ class ExceptionResolversExceptionHandler implements DataFetcherExceptionHandler
6161
this.resolvers = new ArrayList<>(resolvers);
6262
}
6363

64-
@Override
65-
@Deprecated
66-
public DataFetcherExceptionHandlerResult onException(DataFetcherExceptionHandlerParameters handlerParameters) {
67-
// This is not expected to be called but needs to be implemented until removed:
68-
// https://github.com/graphql-java/graphql-java/issues/2545
69-
throw new UnsupportedOperationException();
70-
}
7164

7265
@Override
7366
public CompletableFuture<DataFetcherExceptionHandlerResult> handleException(DataFetcherExceptionHandlerParameters params) {

0 commit comments

Comments
 (0)