org.hibernate
Class DuplicateMappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.HibernateException
org.hibernate.MappingException
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.
- 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(DuplicateMappingException.Type type,
String name)
DuplicateMappingException
@Deprecated
public DuplicateMappingException(String type,
String name)
- Deprecated.
DuplicateMappingException
public DuplicateMappingException(String customMessage,
DuplicateMappingException.Type type,
String name)
DuplicateMappingException
@Deprecated
public DuplicateMappingException(String customMessage,
String type,
String name)
- Deprecated.
getType
public String getType()
getName
public String getName()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.