@throws LogicException if source could not be resolved.