程序包 org.hibernate
类 InvalidMappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.InvalidMappingException
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
InvalidMappingException
public class InvalidMappingException extends MappingException
Thrown when a mapping is found to be invalid. Similar to MappingException, but this contains more info about the path and type of mapping (e.g. file, resource or url)- 作者:
- Max Rydahl Andersen, Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 InvalidMappingException(String customMessage, String type, String path)Constructs an InvalidMappingException using the given information.InvalidMappingException(String customMessage, String type, String path, Throwable cause)Constructs an InvalidMappingException using the given information.InvalidMappingException(String customMessage, Origin origin)Constructs an InvalidMappingException using the given information.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetPath()StringgetType()
-
-
-
构造器详细资料
-
InvalidMappingException
public InvalidMappingException(String customMessage, String type, String path, Throwable cause)
Constructs an InvalidMappingException using the given information.- 参数:
customMessage- The custom message explaining the exception conditiontype- The type of invalid mapping documentpath- The path (type specific) of the invalid mapping documentcause- The underlying cause
-
InvalidMappingException
public InvalidMappingException(String customMessage, String type, String path)
Constructs an InvalidMappingException using the given information.- 参数:
customMessage- The custom message explaining the exception conditiontype- The type of invalid mapping documentpath- The path (type specific) of the invalid mapping document
-
-