All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jodd.db.DbSqlException Maven / Gradle / Ivy

Go to download

Jodd DB is efficient and thin database facade; DbOom is convenient database object mapper.

There is a newer version: 6.0.0
Show newest version
// Copyright (c) 2003-2012, Jodd Team (jodd.org). All Rights Reserved.

package jodd.db;

import jodd.exception.UncheckedException;
import jodd.exception.ExceptionUtil;

import java.sql.SQLException;
import java.util.List;

/**
 * Unchecked SQL exception.
 */
public class DbSqlException extends UncheckedException {

	public DbSqlException(Throwable t) {
		super(t);
	}

	public DbSqlException() {
	}

	public DbSqlException(String message) {
		super(message);
	}

	public DbSqlException(String message, Throwable t) {
		super(message, t);
	}

	public DbSqlException(List sexs) {
		this(ExceptionUtil.rollupSqlExceptions(sexs));
	}

	public DbSqlException(String message, List sexs) {
		this(message, ExceptionUtil.rollupSqlExceptions(sexs));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy