Skip to content

Commit a7d1993

Browse files
committed
Merge pull request #18539 from dreis2211
* gh-18539: Remove accidental usage of UnsupportedOptionException Closes gh-18539
2 parents f42b442 + ba46ab6 commit a7d1993

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterIntegrationTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.junit.After;
2727
import org.junit.Test;
2828
import org.junit.runner.RunWith;
29-
import org.xnio.channels.UnsupportedOptionException;
3029

3130
import org.springframework.beans.factory.annotation.Autowired;
3231
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
@@ -190,7 +189,7 @@ public ApplicationContext loadContext(MergedContextConfiguration config) {
190189

191190
@Override
192191
public ApplicationContext loadContext(String... locations) {
193-
throw new UnsupportedOptionException();
192+
throw new UnsupportedOperationException();
194193
}
195194

196195
@Override
@@ -200,7 +199,7 @@ protected String[] getResourceSuffixes() {
200199

201200
@Override
202201
protected String getResourceSuffix() {
203-
throw new UnsupportedOptionException();
202+
throw new UnsupportedOperationException();
204203
}
205204

206205
}

0 commit comments

Comments
 (0)