public class ErrorResponse extends Object implements RESTResponse
Constructor and Description |
---|
ErrorResponse(ErrorResponseResourceType resourceType,
String resourceName,
String message,
Integer code) |
ErrorResponse(ErrorResponseResourceType resourceType,
String resourceName,
String message,
int code,
List<String> stack) |
Modifier and Type | Method and Description |
---|---|
Integer |
getCode() |
String |
getMessage() |
String |
getResourceName() |
ErrorResponseResourceType |
getResourceType() |
List<String> |
getStack() |
public ErrorResponse(ErrorResponseResourceType resourceType, String resourceName, String message, Integer code)
public ErrorResponse(ErrorResponseResourceType resourceType, String resourceName, String message, int code, List<String> stack)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.