Commit ba46ab6a authored by dreis2211's avatar dreis2211 Committed by Andy Wilkinson

Remove accidental usage of UnsupportedOptionException

See gh-18539
parent f42b442c
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment