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

org.hibernate.internal.util.xml.XsdException Maven / Gradle / Ivy

/*
 * 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.internal.util.xml;

import org.hibernate.HibernateException;

/**
 * Indicates an issue finding or loading an XSD schema.
 * 
 * @author Steve Ebersole
 */
public class XsdException extends HibernateException {
	private final String xsdName;

	public XsdException(String message, String xsdName) {
		super( message );
		this.xsdName = xsdName;
	}

	public XsdException(String message, Throwable root, String xsdName) {
		super( message, root );
		this.xsdName = xsdName;
	}

	public String getXsdName() {
		return xsdName;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy