public interface ErrorStatus
ErrorStatus
is used by ServiceException
to identify certain error types.
The error type is defined by an internal error code (getCodeString()
).
It also suggests a mapping for the well-known status codes defined by the HTTP protocol (getHttpStatus()
).Modifier and Type | Method and Description |
---|---|
default int |
getCode()
Deprecated.
Use
getCodeString() instead. |
default String |
getCodeString() |
default String |
getDescription() |
int |
getHttpStatus() |
@Deprecated default int getCode()
getCodeString()
instead.default String getCodeString()
default String getDescription()
int getHttpStatus()
Copyright © 2022. All rights reserved.