MockDriver: Add compatability to recent java version.
parent
54f83919e4
commit
01b1eea67d
|
|
@ -5,7 +5,9 @@ import java.sql.Driver;
|
|||
import java.sql.DriverManager;
|
||||
import java.sql.DriverPropertyInfo;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.SQLFeatureNotSupportedException;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.mockito.Mockito;
|
||||
|
||||
|
|
@ -54,4 +56,8 @@ public class MockDriver implements Driver {
|
|||
return false;
|
||||
}
|
||||
|
||||
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
||||
throw new SQLFeatureNotSupportedException("Not supported by this driver.");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue