
org.sqlproc.engine.SqlRuntimeException Maven / Gradle / Ivy
Show all versions of sql-processor Show documentation
package org.sqlproc.engine;
/**
* The general runtime exception class for the SQL Processor engine.
*
* This exception can be raised in the process of a META SQL query or a statement execution. It's not produced in the
* JDBC or ORM layer, but in the SQL Processor engine itself. Primarily it devoted to the problems with the input/output
* values handling.
*
*
* For more info please see the Tutorials.
*
* @author Vladimir Hudec
*/
public class SqlRuntimeException extends RuntimeException {
private static final long serialVersionUID = -78058882111031689L;
/**
* Creates a new instance of the exception.
*/
public SqlRuntimeException() {
super();
}
/**
* Creates a new instance of the exception.
*
* @param message
* the error message
*/
public SqlRuntimeException(String message) {
super(message);
}
/**
* Creates a new instance of the exception.
*
* @param cause
* the error cause
*/
public SqlRuntimeException(Throwable cause) {
super(cause);
}
/**
* Creates a new instance of the exception.
*
* @param message
* the error message
* @param cause
* the error cause
*/
public SqlRuntimeException(String message, Throwable cause) {
super(message, cause);
}
}