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