FileDocCategorySizeDatePackage
InvalidMappingException.javaAPI DocHibernate 3.2.51169Wed Jul 26 06:32:20 BST 2006org.hibernate

InvalidMappingException

public class InvalidMappingException extends MappingException
Thrown when a mapping is found to be invalid. Similar to MappingException, but this contains more info about the path and type of mapping (e.g. file, resource or url)
author
Max Rydahl Andersen

Fields Summary
private final String
path
private final String
type
Constructors Summary
public InvalidMappingException(String customMessage, String type, String path, Throwable cause)

		super(customMessage, cause);
		this.type=type;
		this.path=path;
	
public InvalidMappingException(String customMessage, String type, String path)

		super(customMessage);
		this.type=type;
		this.path=path;
	
public InvalidMappingException(String type, String path)

		this("Could not parse mapping document from " + type + (path==null?"":" " + path), type, path);
	
public InvalidMappingException(String type, String path, Throwable cause)

		this("Could not parse mapping document from " + type + (path==null?"":" " + path), type, path, cause);		
	
Methods Summary
public java.lang.StringgetPath()

		return path;
	
public java.lang.StringgetType()

		return type;