org.hibernate
Class DuplicateMappingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.hibernate.exception.NestableRuntimeException
                  extended byorg.hibernate.HibernateException
                      extended byorg.hibernate.MappingException
                          extended byorg.hibernate.DuplicateMappingException
All Implemented Interfaces:
Nestable, Serializable

public class DuplicateMappingException
extends MappingException

Raised whenever a duplicate for a certain type occurs. Duplicate class, table, property name etc.

Author:
Max Rydahl Andersen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.exception.NestableRuntimeException
delegate
 
Constructor Summary
DuplicateMappingException(String type, String name)
           
DuplicateMappingException(String customMessage, String type, String name)
           
 
Method Summary
 String getName()
           
 String getType()
           
 
Methods inherited from class org.hibernate.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateMappingException

public DuplicateMappingException(String customMessage,
                                 String type,
                                 String name)

DuplicateMappingException

public DuplicateMappingException(String type,
                                 String name)
Method Detail

getType

public String getType()

getName

public String getName()