/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate;

Used to indicate a request against an unknown profile name.
Author:Steve Ebersole
/** * Used to indicate a request against an unknown profile name. * * @author Steve Ebersole */
public class UnknownProfileException extends HibernateException { private final String name;
Constructs an UnknownProfileException for the given name.
Params:
  • name – The profile name that was unknown.
/** * Constructs an UnknownProfileException for the given name. * * @param name The profile name that was unknown. */
public UnknownProfileException(String name) { super( "Unknow fetch profile [" + name + "]" ); this.name = name; }
The unknown fetch profile name.
Returns:The unknown fetch profile name.
/** * The unknown fetch profile name. * * @return The unknown fetch profile name. */
public String getName() { return name; } }