Remove accidental usage of UnsupportedOptionException
See gh-18539
This commit is contained in:
parent
f42b442ce2
commit
ba46ab6a4f
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue