org.hibernate.id.IdentifierGenerationException.java Source code

Java tutorial

Introduction

Here is the source code for org.hibernate.id.IdentifierGenerationException.java

Source

/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.id;

import org.hibernate.HibernateException;

/**
 * Thrown by <tt>IdentifierGenerator</tt> implementation class when
 * ID generation fails.
 *
 * @see IdentifierGenerator
 * @author Gavin King
 */

public class IdentifierGenerationException extends HibernateException {

    public IdentifierGenerationException(String msg) {
        super(msg);
    }

    public IdentifierGenerationException(String msg, Throwable t) {
        super(msg, t);
    }
}