Remove accidental usage of UnsupportedOptionException

See gh-18539
This commit is contained in:
dreis2211 2019-10-08 16:48:32 +02:00 committed by Andy Wilkinson
parent f42b442ce2
commit ba46ab6a4f
1 changed files with 2 additions and 3 deletions

View File

@ -26,7 +26,6 @@ import javax.servlet.http.HttpServletResponse;
import org.junit.After;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.xnio.channels.UnsupportedOptionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
@ -190,7 +189,7 @@ public class ErrorPageFilterIntegrationTests {
@Override
public ApplicationContext loadContext(String... locations) {
throw new UnsupportedOptionException();
throw new UnsupportedOperationException();
}
@Override
@ -200,7 +199,7 @@ public class ErrorPageFilterIntegrationTests {
@Override
protected String getResourceSuffix() {
throw new UnsupportedOptionException();
throw new UnsupportedOperationException();
}
}