org.hibernate.boot.MappingNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* 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;
/**
* Indicates that a mapping document could not be found at a given {@link 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