Package org.hibernate
Class MappingNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.MappingNotFoundException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class MappingNotFoundException extends MappingException
Deprecated.UseMappingNotFoundException
instead.Thrown when a resource for a mapping could not be found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingNotFoundException(String type, String path)
Deprecated.Constructs a MappingNotFoundException using the given information, using a standard message.MappingNotFoundException(String customMessage, String type, String path)
Deprecated.Constructs a MappingNotFoundException using the given information.MappingNotFoundException(String customMessage, String type, String path, Throwable cause)
Deprecated.Constructs a MappingNotFoundException using the given information.MappingNotFoundException(String type, String path, Throwable cause)
Deprecated.Constructs a MappingNotFoundException using the given information, using a standard message.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getPath()
Deprecated.String
getType()
Deprecated.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MappingNotFoundException
public MappingNotFoundException(String customMessage, String type, String path, Throwable cause)
Deprecated.Constructs a MappingNotFoundException using the given information.- Parameters:
customMessage
- A message explaining the exception conditiontype
- The type of mapping that could not be foundpath
- The path (type specific) of the mapping that could not be foundcause
- The underlying cause
-
MappingNotFoundException
public MappingNotFoundException(String customMessage, String type, String path)
Deprecated.Constructs a MappingNotFoundException using the given information.- Parameters:
customMessage
- A message explaining the exception conditiontype
- The type of mapping that could not be foundpath
- The path (type specific) of the mapping that could not be found
-
MappingNotFoundException
public MappingNotFoundException(String type, String path)
Deprecated.Constructs a MappingNotFoundException using the given information, using a standard message.- Parameters:
type
- The type of mapping that could not be foundpath
- The path (type specific) of the mapping that could not be found
-
MappingNotFoundException
public MappingNotFoundException(String type, String path, Throwable cause)
Deprecated.Constructs a MappingNotFoundException using the given information, using a standard message.- Parameters:
type
- The type of mapping that could not be foundpath
- The path (type specific) of the mapping that could not be foundcause
- The underlying cause
-
-