public class ResourceNotFoundException extends HttpResponseException
HttpResponseException throw when Contrast API returns a 404 Not Found response.| Constructor and Description |
|---|
ResourceNotFoundException(java.lang.String message,
java.lang.String method,
java.lang.String path,
java.lang.String status)
Constructor.
|
ResourceNotFoundException(java.lang.String message,
java.lang.String method,
java.lang.String path,
java.lang.String status,
java.lang.String body)
Constructor.
|
fromConnection, getBody, getCode, getMessage, getStatuspublic ResourceNotFoundException(java.lang.String message,
java.lang.String method,
java.lang.String path,
java.lang.String status)
message - error message provided by the callerstatus - message from the status line e.g. Bad Requestpublic ResourceNotFoundException(java.lang.String message,
java.lang.String method,
java.lang.String path,
java.lang.String status,
java.lang.String body)
message - error message provided by the callerstatus - message from the status line e.g. Bad Requestbody - the body of the response, or null if there is no such bodyCopyright © 2021 Contrast Security, Inc.. All rights reserved.