Class ErrorStatus
java.lang.Object
org.hippoecm.hst.pagecomposer.jaxrs.model.ErrorStatus
-
Constructor Summary
ConstructorDescriptionErrorStatus
(ClientError error) ErrorStatus
(ClientError errorCode, Map<?, ?> parameterMap) -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorStatus
from
(ClientError errorCode) static ErrorStatus
from
(ClientError errorCode, String paramName, Object paramValue) static ErrorStatus
from
(ClientError errorCode, Map<?, ?> parameterMap) getError()
Map<?,
?> static ErrorStatus
Create anClientError.UNKNOWN
error status that contains an error message in the parameter 'errorReason'
-
Constructor Details
-
ErrorStatus
-
ErrorStatus
-
-
Method Details
-
getError
-
getParameterMap
-
from
-
from
-
from
-
unknown
Create anClientError.UNKNOWN
error status that contains an error message in the parameter 'errorReason'- Parameters:
message
- text describing the error- Returns:
- an 'unknown' error status with errorReason message
-