Class ServiceResult.FAILURE
-
- All Implemented Interfaces:
public final class ServiceResult.FAILURE<T extends Object> extends ServiceResult<T>
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final ServiceErrorCodecodeprivate final IntegerhttpErrorCode
-
Constructor Summary
Constructors Constructor Description ServiceResult.FAILURE(String message, ServiceErrorCode code, Integer httpErrorCode)
-
Method Summary
Modifier and Type Method Description final StringgetMessage()final ServiceErrorCodegetCode()final IntegergetHttpErrorCode()-
-
Constructor Detail
-
ServiceResult.FAILURE
ServiceResult.FAILURE(String message, ServiceErrorCode code, Integer httpErrorCode)
-
-
Method Detail
-
getMessage
final String getMessage()
-
getCode
final ServiceErrorCode getCode()
-
getHttpErrorCode
final Integer getHttpErrorCode()
-
-
-
-