You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertThat(e.getMessage(), is("Channel may not be null."));
1566
-
} catch (finalIllegalArgumentExceptione) {
1567
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1568
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/GetObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Channel may not be null."));
1579
-
} catch (finalIllegalArgumentExceptione) {
1580
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1581
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/GetObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Channel may not be null."));
1592
-
} catch (finalIllegalArgumentExceptione) {
1593
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1594
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/GetObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Stream may not be null."));
1605
-
} catch (finalIllegalArgumentExceptione) {
1606
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1607
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'stream' of com/spectralogic/ds3client/commands/GetObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Stream may not be null."));
1618
-
} catch (finalIllegalArgumentExceptione) {
1619
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1620
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'stream' of com/spectralogic/ds3client/commands/GetObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Channel may not be null."));
1631
-
} catch (finalIllegalArgumentExceptione) {
1632
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1633
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/PutObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Channel may not be null."));
1644
-
} catch (finalIllegalArgumentExceptione) {
1645
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1646
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/PutObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Channel may not be null."));
1657
-
} catch (finalIllegalArgumentExceptione) {
1658
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1659
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/PutObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Stream may not be null."));
1670
-
} catch (finalIllegalArgumentExceptione) {
1671
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1672
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'stream' of com/spectralogic/ds3client/commands/PutObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Stream may not be null."));
1683
-
} catch (finalIllegalArgumentExceptione) {
1684
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1685
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'stream' of com/spectralogic/ds3client/commands/PutObjectRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Channel may not be null."));
1696
-
} catch (finalIllegalArgumentExceptione) {
1697
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1698
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/PutMultiPartUploadPartRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Channel may not be null."));
1709
-
} catch (finalIllegalArgumentExceptione) {
1710
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1711
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'channel' of com/spectralogic/ds3client/commands/PutMultiPartUploadPartRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Stream may not be null."));
1722
-
} catch (finalIllegalArgumentExceptione) {
1723
-
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1724
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'stream' of com/spectralogic/ds3client/commands/PutMultiPartUploadPartRequest.<init> must not be null"));
assertThat(e.getMessage(), is("Stream may not be null."));
1648
+
assertThat(e.getMessage(), is(paramName + " may not be null."));
1735
1649
} catch (finalIllegalArgumentExceptione) {
1736
1650
// IntelliJ IDEA throws an IllegalArgumentException if parameters are annotated as non-null are passed null values
1737
-
assertThat(e.getMessage(), is("Argument for @Nonnull parameter 'stream' of com/spectralogic/ds3client/commands/PutMultiPartUploadPartRequest.<init> must not be null"));
1651
+
assertThat(e.getMessage(), startsWith("Argument for @Nonnull parameter '" + paramName.toLowerCase() + "'"));
0 commit comments