Top Description Constructors
org.hibernate

public Class AnnotationException

extends MappingException
Class Inheritance
Known Direct Subclasses
org.hibernate.cfg.CannotForceNonNullableException, org.hibernate.cfg.RecoverableException

Annotation related exception. The EJB3 EG will probably set a generic exception. I'll then use this one.
Author
Emmanuel Bernard

Constructor Summary

AccessConstructor and Description
public
AnnotationException(String
The message explaining the reason for the exception.
msg
,
Throwable
The underlying cause.
cause
)

Constructs an AnnotationException using the given message and cause.

public
AnnotationException(String
The message explaining the reason for the exception.
msg
)

Constructs an AnnotationException using the given message.

Constructor Detail

AnnotationExceptionback to summary
public AnnotationException(String msg, Throwable cause)

Constructs an AnnotationException using the given message and cause.

Parameters
msg:String

The message explaining the reason for the exception.

cause:Throwable

The underlying cause.

AnnotationExceptionback to summary
public AnnotationException(String msg)

Constructs an AnnotationException using the given message.

Parameters
msg:String

The message explaining the reason for the exception.