org.hibernate.id

Class IdentifierGenerationException

Implemented Interfaces:
Nestable

public class IdentifierGenerationException
extends HibernateException

Thrown by IdentifierGenerator implementation class when ID generation fails.
Author:
Gavin King
See Also:
IdentifierGenerator

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

IdentifierGenerationException(String msg)
Constructs a new NestableRuntimeException with specified detail message.
IdentifierGenerationException(String msg, Throwable t)
Constructs a new NestableRuntimeException with specified detail message and nested Throwable.

Method Summary

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

IdentifierGenerationException

public IdentifierGenerationException(String msg)
Constructs a new NestableRuntimeException with specified detail message.
Parameters:
msg - the error message

IdentifierGenerationException

public IdentifierGenerationException(String msg,
                                     Throwable t)
Constructs a new NestableRuntimeException with specified detail message and nested Throwable.
Parameters:
msg - the error message