public PropertyRequiredException( Resource root, Property property ) { super( root, makeMessage( root, property ) ); this.property = property; }
protected Literal getRequiredLiteral( Resource root, Property p ) { Literal L = getUniqueLiteral( root, p ); if (L == null) throw new PropertyRequiredException( root, p ); return L; }
public static Resource getRequiredResource( Resource root, Property p ) { Resource R = getUniqueResource( root, p ); if (R == null) throw new PropertyRequiredException( root, p ); return R; }
protected Literal getRequiredLiteral( Resource root, Property p ) { Literal L = getUniqueLiteral( root, p ); if (L == null) throw new PropertyRequiredException( root, p ); return L; }
public PropertyRequiredException( Resource root, Property property ) { super( root, makeMessage( root, property ) ); this.property = property; }
public static Resource getRequiredResource( Resource root, Property p ) { Resource R = getUniqueResource( root, p ); if (R == null) throw new PropertyRequiredException( root, p ); return R; }