FileDocCategorySizeDatePackage
DuplicateMappingException.javaAPI DocHibernate 3.2.5669Wed Jul 26 06:32:20 BST 2006org.hibernate

DuplicateMappingException

public class DuplicateMappingException extends MappingException
Raised whenever a duplicate for a certain type occurs. Duplicate class, table, property name etc.
author
Max Rydahl Andersen

Fields Summary
private final String
name
private final String
type
Constructors Summary
public DuplicateMappingException(String customMessage, String type, String name)

		super(customMessage);
		this.type=type;
		this.name=name;
	
public DuplicateMappingException(String type, String name)

		this("Duplicate " + type + " mapping " + name, type, name);
	
Methods Summary
public java.lang.StringgetName()

		return name;
	
public java.lang.StringgetType()

		return type;