org.hibernate

Class TypeMismatchException

Implemented Interfaces:
Nestable

public class TypeMismatchException
extends HibernateException

Used when a user provided type does not match the expected one
Author:
Emmanuel Bernard

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

TypeMismatchException(String s)
Constructs a new NestableRuntimeException with specified detail message.
TypeMismatchException(String string, Throwable root)
Constructs a new NestableRuntimeException with specified detail message and nested Throwable.
TypeMismatchException(Throwable root)
Constructs a new NestableRuntimeException with specified 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

TypeMismatchException

public TypeMismatchException(String s)
Constructs a new NestableRuntimeException with specified detail message.
Parameters:

TypeMismatchException

public TypeMismatchException(String string,
                             Throwable root)
Constructs a new NestableRuntimeException with specified detail message and nested Throwable.
Parameters:

TypeMismatchException

public TypeMismatchException(Throwable root)
Constructs a new NestableRuntimeException with specified nested Throwable.
Parameters: