org.hibernate

Class MappingException

Implemented Interfaces:
Nestable
Known Direct Subclasses:
DuplicateMappingException, InvalidMappingException, MappingNotFoundException, PropertyNotFoundException

public class MappingException
extends HibernateException

An exception that usually occurs at configuration time, rather than runtime, as a result of something screwy in the O-R mappings.
Author:
Gavin King

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

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

MappingException

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

MappingException

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

MappingException

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