org.hibernate

Class MappingNotFoundException

Implemented Interfaces:
Nestable

public class MappingNotFoundException
extends MappingException

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

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

MappingNotFoundException(String type, String path)
MappingNotFoundException(String customMessage, String type, String path)
MappingNotFoundException(String customMessage, String type, String path, Throwable cause)
MappingNotFoundException(String type, String path, Throwable cause)

Method Summary

String
getPath()
String
getType()

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

MappingNotFoundException

public MappingNotFoundException(String type,
                                String path)

MappingNotFoundException

public MappingNotFoundException(String customMessage,
                                String type,
                                String path)

MappingNotFoundException

public MappingNotFoundException(String customMessage,
                                String type,
                                String path,
                                Throwable cause)

MappingNotFoundException

public MappingNotFoundException(String type,
                                String path,
                                Throwable cause)

Method Details

getPath

public String getPath()

getType

public String getType()