public class ExceptionUtils
extends java.lang.Object
Constructor and Description |
---|
ExceptionUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
throwExceptionOnError(org.springframework.http.ResponseEntity<?> response)
Helper method to throw an appropriate exception if a request to CredHub
returns with an error code.
|