Resource typeFromFunction = getTypeFromPossibleTypeFunction(graph, Layer0.getInstance(graph).Entity, getPossibleTypeFunction(graph));
if (typeFromFunction != null)
return typeFromFunction;
- } catch (Throwable t) {
+ } catch (DatabaseException t) {
return null;
}
Resource typeFromFunction = getTypeFromPossibleTypeFunction(graph, baseType, getPossibleTypeFunction(graph));
if (typeFromFunction != null)
return typeFromFunction;
- } catch (Throwable t) {
+ } catch (DatabaseException t) {
return null;
}