程序包 org.hibernate
类 AnnotationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.MappingException
-
- org.hibernate.AnnotationException
-
- 所有已实现的接口:
Serializable
public class AnnotationException extends MappingException
Annotation related exception. The EJB3 EG will probably set a generic exception. I'll then use this one.- 作者:
- Emmanuel Bernard
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AnnotationException(String msg)Constructs an AnnotationException using the given message.AnnotationException(String msg, Throwable cause)Constructs an AnnotationException using the given message and cause.
-
方法概要
-
-
-
构造器详细资料
-
AnnotationException
public AnnotationException(String msg, Throwable cause)
Constructs an AnnotationException using the given message and cause.- 参数:
msg- The message explaining the reason for the exception.cause- The underlying cause.
-
AnnotationException
public AnnotationException(String msg)
Constructs an AnnotationException using the given message.- 参数:
msg- The message explaining the reason for the exception.
-
-