org.hibernate
Class DuplicateMappingException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.hibernate.HibernateException
org.hibernate.HibernateException
                   org.hibernate.MappingException
org.hibernate.MappingException
                       org.hibernate.DuplicateMappingException
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
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
DuplicateMappingException
public DuplicateMappingException(String customMessage,
                                 String type,
                                 String name)
DuplicateMappingException
public DuplicateMappingException(String type,
                                 String name)
getType
public String getType()
- 
 
getName
public String getName()
- 
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.