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.
Constructor and Description |
---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MappingException(String message, Throwable cause)
Constructs a MappingException using the given information.
message
- A message explaining the exception conditioncause
- The underlying causepublic MappingException(Throwable cause)
Constructs a MappingException using the given information.
cause
- The underlying causepublic MappingException(String message)
Constructs a MappingException using the given information.
message
- A message explaining the exception conditionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.