org.hibernate
Class MappingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.HibernateException
                  extended by org.hibernate.MappingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AnnotationException, DuplicateMappingException, InvalidMappingException, MappingNotFoundException, NotYetImplementedException, PropertyNotFoundException

public class MappingException
extends HibernateException

An exception that usually occurs at configuration time, rather than runtime, as a result of something screwy in the O-R mappings.

See Also:
Serialized Form

Constructor Summary
MappingException(String s)
           
MappingException(String msg, Throwable root)
           
MappingException(Throwable root)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MappingException

public MappingException(String msg,
                        Throwable root)

MappingException

public MappingException(Throwable root)

MappingException

public MappingException(String s)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.