Package org.hibernate
Class 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
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CannotForceNonNullableException
,RecoverableException
public class AnnotationException extends MappingException
Annotation related exception. The EJB3 EG will probably set a generic exception. I'll then use this one.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnnotationException(java.lang.String msg)
Constructs an AnnotationException using the given message.AnnotationException(java.lang.String msg, java.lang.Throwable cause)
Constructs an AnnotationException using the given message and cause.
-
-
-
Constructor Detail
-
AnnotationException
public AnnotationException(java.lang.String msg, java.lang.Throwable cause)
Constructs an AnnotationException using the given message and cause.- Parameters:
msg
- The message explaining the reason for the exception.cause
- The underlying cause.
-
AnnotationException
public AnnotationException(java.lang.String msg)
Constructs an AnnotationException using the given message.- Parameters:
msg
- The message explaining the reason for the exception.
-
-