List of usage examples for org.hibernate NonUniqueObjectException NonUniqueObjectException
public NonUniqueObjectException(Serializable entityId, String entityName)
From source file:org.hyperic.hq.appdef.server.session.PlatformManagerImpl.java
License:Open Source License
private void throwDupPlatform(Serializable id, String platName) { throw new NonUniqueObjectException(id, "Duplicate platform found " + "with name: " + platName); }