mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +02:00
Add relevant exception message for checkArgumentNotNull usage
I ran into this while writing some other code and having the exception message would have made it easier to debug. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199292321
This commit is contained in:
parent
7c0b8cab0b
commit
e1bcc2e64d
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ public class GracePeriod extends ImmutableObject {
|
|||
DateTime expirationTime,
|
||||
String clientId,
|
||||
Key<BillingEvent.Recurring> billingEventRecurring) {
|
||||
checkArgumentNotNull(billingEventRecurring);
|
||||
checkArgumentNotNull(billingEventRecurring, "billingEventRecurring cannot be null");
|
||||
return createInternal(type, expirationTime, clientId, null, billingEventRecurring);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue