
jodd.db.oom.sqlgen.DbSqlBuilderException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jodd-db Show documentation
Show all versions of jodd-db Show documentation
Jodd DB is efficient and thin database facade; DbOom is convenient database object mapper.
// Copyright (c) 2003-2012, Jodd Team (jodd.org). All Rights Reserved.
package jodd.db.oom.sqlgen;
import jodd.db.oom.DbOomException;
public class DbSqlBuilderException extends DbOomException {
public DbSqlBuilderException(Throwable t) {
super(t);
}
public DbSqlBuilderException() {
}
public DbSqlBuilderException(String message) {
super(message);
}
public DbSqlBuilderException(String message, Throwable t) {
super(message, t);
}
protected String queryString;
public void setQueryString(String queryString) {
this.queryString = queryString;
}
@Override
public String getMessage() {
String message = super.getMessage();
if (queryString != null) {
message += " Generated query: " + queryString;
}
return message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy