Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import cn.hutool.http.Method;
import com.auth0.jwt.JWT;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.sun.nio.sctp.IllegalReceiveException;
import cn.authing.sdk.java.enums.LanguageEnum;
import cn.authing.sdk.java.util.HttpUtils;
import cn.authing.sdk.java.util.JsonUtils;
Expand Down Expand Up @@ -267,7 +266,7 @@ private void doLogin() {
body, null, options.getTimeout());
LoginResponse loginResponse = JsonUtils.deserialize(response, LoginResponse.class);
if (loginResponse == null) {
throw new IllegalReceiveException("response is null");
throw new IllegalStateException("response is null");
}
if (loginResponse.statusCode != 200) {
throw new RuntimeException(loginResponse.getMessage());
Expand Down