public Resource getType(ReadGraph graph, Resource baseType) throws DatabaseException {
if (graph.isInheritedFrom(type, baseType))
return type;
- throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type");
+ throw new NoSingleResultException("variable " + getPossibleURI(graph) + " has no type", -1);
}
@Override