org.hibernate
Class DuplicateMappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.exception.NestableRuntimeException
org.hibernate.HibernateException
org.hibernate.MappingException
org.hibernate.DuplicateMappingException
- All Implemented Interfaces:
- java.io.Serializable, Nestable
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 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 |
DuplicateMappingException
public DuplicateMappingException(java.lang.String customMessage,
java.lang.String type,
java.lang.String name)
DuplicateMappingException
public DuplicateMappingException(java.lang.String type,
java.lang.String name)
getType
public java.lang.String getType()
getName
public java.lang.String getName()
Copyright © 2008 Hibernate.org. All Rights Reserved.