Use Guava preconditions.