Class ErrorExceptionConverter.ExceptionErrorMap

java.lang.Object
com.totvs.tjf.api.response.error.converter.ErrorExceptionConverter.ExceptionErrorMap
Enclosing class:
ErrorExceptionConverter

public static class ErrorExceptionConverter.ExceptionErrorMap extends Object
Error representation with HttpStatus and ApiErrorResponse.
Author:
Thiago A. de Souza Weber
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExceptionErrorMap(org.springframework.http.HttpStatus status, com.totvs.tjf.api.context.response.ApiErrorResponse error)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.totvs.tjf.api.context.response.ApiErrorResponse
     
    org.springframework.http.HttpStatus
     
    void
    setError(com.totvs.tjf.api.context.response.ApiErrorResponse error)
     
    void
    setStatus(org.springframework.http.HttpStatus status)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)