This, along with the two checks above it, could each be handled in a single line by using Validate.isTrue(boolean, String).