Top Description Constructors
org.hibernate

public Class MappingException

extends HibernateException
Class Inheritance
Known Direct Subclasses
org.hibernate.MappingNotFoundException, org.hibernate.PropertyNotFoundException, org.hibernate.UnknownEntityTypeException, org.hibernate.boot.MappingException, org.hibernate.cfg.NotYetImplementedException, org.hibernate.procedure.UnknownSqlResultSetMappingException, org.hibernate.AnnotationException, org.hibernate.DuplicateMappingException, org.hibernate.InvalidMappingException

An exception that occurs while reading mapping sources (xml/annotations), usually as a result of something screwy in the O-R mappings.
Author
Gavin King

Constructor Summary

AccessConstructor and Description
public
MappingException(String
A message explaining the exception condition
message
,
Throwable
The underlying cause
cause
)

Constructs a MappingException using the given information.

public
MappingException(Throwable
The underlying cause
cause
)

Constructs a MappingException using the given information.

public
MappingException(String
A message explaining the exception condition
message
)

Constructs a MappingException using the given information.

Constructor Detail

MappingExceptionback to summary
public MappingException(String message, Throwable cause)

Constructs a MappingException using the given information.

Parameters
message:String

A message explaining the exception condition

cause:Throwable

The underlying cause

MappingExceptionback to summary
public MappingException(Throwable cause)

Constructs a MappingException using the given information.

Parameters
cause:Throwable

The underlying cause

MappingExceptionback to summary
public MappingException(String message)

Constructs a MappingException using the given information.

Parameters
message:String

A message explaining the exception condition