Class ErrorExceptionConverter.ExceptionErrorMap
java.lang.Object
com.totvs.tjf.api.response.error.converter.ErrorExceptionConverter.ExceptionErrorMap
- Enclosing class:
- ErrorExceptionConverter
Error representation with
HttpStatus and ApiErrorResponse.- Author:
- Thiago A. de Souza Weber
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionErrorMap(org.springframework.http.HttpStatus status, com.totvs.tjf.api.context.response.ApiErrorResponse error) -
Method Summary
-
Constructor Details
-
ExceptionErrorMap
public ExceptionErrorMap(org.springframework.http.HttpStatus status, com.totvs.tjf.api.context.response.ApiErrorResponse error)
-
-
Method Details
-
getStatus
public org.springframework.http.HttpStatus getStatus() -
setStatus
public void setStatus(org.springframework.http.HttpStatus status) -
getError
public com.totvs.tjf.api.context.response.ApiErrorResponse getError() -
setError
public void setError(com.totvs.tjf.api.context.response.ApiErrorResponse error)
-