org.hibernate
Class DuplicateMappingException

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
                      extended by org.hibernate.DuplicateMappingException
All Implemented Interfaces:
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

Constructor Summary
DuplicateMappingException(String type, String name)
           
DuplicateMappingException(String customMessage, String type, String name)
           
 
Method Summary
 String getName()
           
 String getType()
           
 
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

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()


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