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

org.ibatis.persist.PersistenceException Maven / Gradle / Ivy

Go to download

The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.

The newest version!
package org.ibatis.persist;

/**
 * Thrown by the persistence provider when a problem occurs.
 *
 * @since iBatis Persistence 1.0
 */
@SuppressWarnings("serial")
public class PersistenceException extends RuntimeException {

    /**
     * Constructs a new PersistenceException exception with null as its detail message.
     */
    public PersistenceException() {
        super();
    }

    /**
     * Constructs a new PersistenceException exception with the specified detail message.
     * 
     * @param message
     *            the detail message.
     */
    public PersistenceException(String message) {
        super(message);
    }

    /**
     * Constructs a new PersistenceException exception with the specified detail message and cause.
     * 
     * @param message
     *            the detail message.
     * @param cause
     *            the cause.
     */
    public PersistenceException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Constructs a new PersistenceException exception with the specified cause.
     * 
     * @param cause
     *            the cause.
     */
    public PersistenceException(Throwable cause) {
        super(cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy