程序包 org.hibernate
类 MappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
AnnotationException,DuplicateMappingException,InvalidMappingException,MappingException,MappingNotFoundException,NotYetImplementedException,PropertyNotFoundException,UnknownEntityTypeException,UnknownSqlResultSetMappingException
public class MappingException extends HibernateException
An exception that occurs while reading mapping sources (xml/annotations), usually as a result of something screwy in the O-R mappings.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 MappingException(String message)Constructs a MappingException using the given information.MappingException(String message, Throwable cause)Constructs a MappingException using the given information.MappingException(Throwable cause)Constructs a MappingException using the given information.
-
方法概要
-
-
-
构造器详细资料
-
MappingException
public MappingException(String message, Throwable cause)
Constructs a MappingException using the given information.- 参数:
message- A message explaining the exception conditioncause- The underlying cause
-
MappingException
public MappingException(Throwable cause)
Constructs a MappingException using the given information.- 参数:
cause- The underlying cause
-
MappingException
public MappingException(String message)
Constructs a MappingException using the given information.- 参数:
message- A message explaining the exception condition
-
-