Issue #9656 Use ISE for PushBuilderImpl.push not IAE (#9667)

This commit is contained in:
Jan Bartel 2023-04-25 01:35:06 +10:00 committed by GitHub
parent 5b4a0136b6
commit c7c3dad498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class PushBuilderImpl implements PushBuilder
{
String pushPath = getPath();
if (pushPath == null || pushPath.isBlank())
throw new IllegalArgumentException("invalid push path: " + pushPath);
throw new IllegalStateException("invalid push path: " + pushPath);
String query = getQueryString();
String pushQuery = query;