All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.MappingNotFoundException Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * 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 .
 */
package org.hibernate.boot;

import org.hibernate.boot.jaxb.Origin;

/**
 * @author Steve Ebersole
 */
public class MappingNotFoundException extends MappingException {
	public MappingNotFoundException(String message, Origin origin) {
		super( message, origin );
	}

	public MappingNotFoundException(Origin origin) {
		super( String.format( "Mapping (%s) not found : %s", origin.getType(), origin.getName() ), origin );
	}

	public MappingNotFoundException(String message, Throwable root, Origin origin) {
		super( message, root, origin );
	}

	public MappingNotFoundException(Throwable root, Origin origin) {
		super( String.format( "Mapping (%s) not found : %s", origin.getType(), origin.getName() ), root, origin );
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy