net.java.ao.builder.UnloadableJdbcDriverException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activeobjects Show documentation
Show all versions of activeobjects Show documentation
This is the full Active Objects library, if you don't know which one to use, you probably want this one.
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