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:
java.io.Serializable
@Deprecated public class MappingNotFoundException extends MappingException
Deprecated.UseMappingNotFoundExceptioninstead.Thrown when a resource for a mapping could not be found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingNotFoundException(java.lang.String type, java.lang.String path)Deprecated.Constructs a MappingNotFoundException using the given information, using a standard message.MappingNotFoundException(java.lang.String customMessage, java.lang.String type, java.lang.String path)Deprecated.Constructs a MappingNotFoundException using the given information.MappingNotFoundException(java.lang.String customMessage, java.lang.String type, java.lang.String path, java.lang.Throwable cause)Deprecated.Constructs a MappingNotFoundException using the given information.MappingNotFoundException(java.lang.String type, java.lang.String path, java.lang.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 java.lang.StringgetPath()Deprecated.java.lang.StringgetType()Deprecated.
-
-
-
Constructor Detail
-
MappingNotFoundException
public MappingNotFoundException(java.lang.String customMessage, java.lang.String type, java.lang.String path, java.lang.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(java.lang.String customMessage, java.lang.String type, java.lang.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(java.lang.String type, java.lang.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(java.lang.String type, java.lang.String path, java.lang.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
-
-