java changedcli-sdks-libraries/sdks/java
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+14added
Lines−14removed
From line
133
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits43to this page, all time
The whole hunk
from line 133, old and new numbered
/
from line 133
133133
134134### Configuration options
135135
136| Setter | System property | Environment variable | Required | Default value |
137| ----------- | --------------------- | ---------------------- | -------- | ----------------------------- |
138| `apiKey` | `anthropic.apiKey` | `ANTHROPIC_API_KEY` | false | - |
139| `authToken` | `anthropic.authToken` | `ANTHROPIC_AUTH_TOKEN` | false | - |
140| `baseUrl` | `anthropic.baseUrl` | `ANTHROPIC_BASE_URL` | true | `"https://api.anthropic.com"` |
136| Setter | System property | Environment variable | Required | Default value |
137| ----- | ----- | ----- | ----- | ----- |
138| `apiKey` | `anthropic.apiKey` | `ANTHROPIC_API_KEY` | false | - |
139| `authToken` | `anthropic.authToken` | `ANTHROPIC_AUTH_TOKEN` | false | - |
140| `baseUrl` | `anthropic.baseUrl` | `ANTHROPIC_BASE_URL` | true | `"https://api.anthropic.com"` |
141141
142142System properties take precedence over environment variables.
143143
from line 606
606606
607607### Status code mapping
608608
609| Status | Exception |
610| ------ | ------------------------------- |
611| 400 | `BadRequestException` |
612| 401 | `UnauthorizedException` |
613| 403 | `PermissionDeniedException` |
614| 404 | `NotFoundException` |
615| 422 | `UnprocessableEntityException` |
616| 429 | `RateLimitException` |
617| 5xx | `InternalServerException` |
609| Status | Exception |
610| ----- | ----- |
611| 400 | `BadRequestException` |
612| 401 | `UnauthorizedException` |
613| 403 | `PermissionDeniedException` |
614| 404 | `NotFoundException` |
615| 422 | `UnprocessableEntityException` |
616| 429 | `RateLimitException` |
617| 5xx | `InternalServerException` |
618618| others | `UnexpectedStatusCodeException` |
619619
620620`SseException` is thrown for errors encountered during SSE streaming after a successful initial HTTP response.
No line in this hunk matches that.