Replaced all sun.NotImplementedException with standard java UnsupportedOperationException

This commit is contained in:
Ziver Koc 2016-02-27 02:49:23 +01:00
parent 664a4f604b
commit 7e957bc34e

View file

@ -22,8 +22,8 @@
package wa.server.page;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import wa.server.plugin.WALog;
import zutil.net.http.HttpHeader;
import zutil.net.http.HttpHeaderParser;
import zutil.net.http.HttpPage;
import zutil.net.http.HttpPrintStream;
@ -61,13 +61,13 @@ public class LogPage extends Handler implements HttpPage {
public void flush() {}
@Override
public void close() throws SecurityException {
throw new NotImplementedException();
throw new UnsupportedOperationException();
}
@Override
public void respond(HttpPrintStream out,
HttpHeaderParser client_info,
HttpHeader client_info,
Map<String, Object> session,
Map<String, String> cookie,
Map<String, String> request) throws IOException {