File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/java/cn/authing/sdk/java/model Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 99import cn .hutool .http .Method ;
1010import com .auth0 .jwt .JWT ;
1111import com .auth0 .jwt .interfaces .DecodedJWT ;
12- import com .sun .nio .sctp .IllegalReceiveException ;
1312import cn .authing .sdk .java .enums .LanguageEnum ;
1413import cn .authing .sdk .java .util .HttpUtils ;
1514import cn .authing .sdk .java .util .JsonUtils ;
@@ -267,7 +266,7 @@ private void doLogin() {
267266 body , null , options .getTimeout ());
268267 LoginResponse loginResponse = JsonUtils .deserialize (response , LoginResponse .class );
269268 if (loginResponse == null ) {
270- throw new IllegalReceiveException ("response is null" );
269+ throw new IllegalStateException ("response is null" );
271270 }
272271 if (loginResponse .statusCode != 200 ) {
273272 throw new RuntimeException (loginResponse .getMessage ());
You can’t perform that action at this time.
0 commit comments