InvalidMappingExceptionpublic 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) |
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);
|
|