Using Guava to propagate exception instead of ifs