net.java.ao.builder.UnloadableJdbcDriverException Maven / Gradle / Ivy
package net.java.ao.builder;
import net.java.ao.ActiveObjectsException;
import java.util.Objects;
public class UnloadableJdbcDriverException extends ActiveObjectsException {
private final String driverClassName;
public UnloadableJdbcDriverException(String driverClassName) {
this(driverClassName, null);
}
public UnloadableJdbcDriverException(String driverClassName, Throwable t) {
super(t);
this.driverClassName = Objects.requireNonNull(driverClassName,"driverClassName can't be null");
}
public String getDriverClassName() {
return driverClassName;
}
@Override
public String getMessage() {
return "Could not load JDBC driver <" + driverClassName + ">";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy