Top Description Fields Constructors Methods
org.hibernate.boot

public Class MappingException

extends MappingException
Class Inheritance
Known Direct Subclasses
org.hibernate.boot.MappingNotFoundException, org.hibernate.boot.UnsupportedOrmXsdVersionException
Imports
org.hibernate.boot.jaxb.Origin

Indicates a problem parsing a mapping document.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Origin

Constructor Summary

AccessConstructor and Description
public
MappingException(String message, Origin origin)

public
MappingException(String message, Throwable root, Origin origin)

Method Summary

Modifier and TypeMethod and Description
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.
public Origin

Field Detail

originback to summary
private final Origin origin

Constructor Detail

MappingExceptionback to summary
public MappingException(String message, Origin origin)
MappingExceptionback to summary
public MappingException(String message, Throwable root, Origin origin)

Method Detail

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

Annotations
@Override
getOriginback to summary
public Origin getOrigin()