Top Description Fields Constructors Methods
org.hibernate

public Class MappingNotFoundException

extends MappingException
Class Inheritance
Annotations
@Deprecated

Deprecated

Use org.hibernate.boot.MappingNotFoundException instead.

Thrown when a resource for a mapping could not be found.
Author
Max Rydahl Andersen

Field Summary

Modifier and TypeField and Description
private final String
private final String

Constructor Summary

AccessConstructor and Description
public
MappingNotFoundException(String
A message explaining the exception condition
customMessage
,
String
The type of mapping that could not be found
type
,
String
The path (type specific) of the mapping that could not be found
path
,
Throwable
The underlying cause
cause
)

Constructs a MappingNotFoundException using the given information.

public
MappingNotFoundException(String
A message explaining the exception condition
customMessage
,
String
The type of mapping that could not be found
type
,
String
The path (type specific) of the mapping that could not be found
path
)

Constructs a MappingNotFoundException using the given information.

public
MappingNotFoundException(String
The type of mapping that could not be found
type
,
String
The path (type specific) of the mapping that could not be found
path
)

Constructs a MappingNotFoundException using the given information, using a standard message.

public
MappingNotFoundException(String
The type of mapping that could not be found
type
,
String
The path (type specific) of the mapping that could not be found
path
,
Throwable
The underlying cause
cause
)

Constructs a MappingNotFoundException using the given information, using a standard message.

Method Summary

Modifier and TypeMethod and Description
public String
public String

Field Detail

pathback to summary
private final String path
typeback to summary
private final String type

Constructor Detail

MappingNotFoundExceptionback to summary
public MappingNotFoundException(String customMessage, String type, String path, Throwable cause)

Constructs a MappingNotFoundException using the given information.

Parameters
customMessage:String

A message explaining the exception condition

type:String

The type of mapping that could not be found

path:String

The path (type specific) of the mapping that could not be found

cause:Throwable

The underlying cause

MappingNotFoundExceptionback to summary
public MappingNotFoundException(String customMessage, String type, String path)

Constructs a MappingNotFoundException using the given information.

Parameters
customMessage:String

A message explaining the exception condition

type:String

The type of mapping that could not be found

path:String

The path (type specific) of the mapping that could not be found

MappingNotFoundExceptionback to summary
public MappingNotFoundException(String type, String path)

Constructs a MappingNotFoundException using the given information, using a standard message.

Parameters
type:String

The type of mapping that could not be found

path:String

The path (type specific) of the mapping that could not be found

MappingNotFoundExceptionback to summary
public MappingNotFoundException(String type, String path, Throwable cause)

Constructs a MappingNotFoundException using the given information, using a standard message.

Parameters
type:String

The type of mapping that could not be found

path:String

The path (type specific) of the mapping that could not be found

cause:Throwable

The underlying cause

Method Detail

getPathback to summary
public String getPath()
getTypeback to summary
public String getType()