| Package | Description |
|---|---|
| com.contrastsecurity.exceptions |
| Modifier and Type | Class and Description |
|---|---|
class |
ResourceNotFoundException
An
HttpResponseException throw when Contrast API returns a 404 Not Found response. |
class |
UnauthorizedException
An
HttpResponseException throw when Contrast API returns a 401 or 403 response. |
| Modifier and Type | Method and Description |
|---|---|
static HttpResponseException |
HttpResponseException.fromConnection(java.net.HttpURLConnection connection,
java.lang.String message)
Static factory method that captures the status line and body of the given
HttpURLConnection to create a new exception. |
Copyright © 2021 Contrast Security, Inc.. All rights reserved.