Class ExceptionRepresentationModel


  • public class ExceptionRepresentationModel
    extends Object
    This class holds error data.
    • Constructor Detail

      • ExceptionRepresentationModel

        public ExceptionRepresentationModel​(pro.taskana.common.api.exceptions.ErrorCode errorCode,
                                            org.springframework.http.HttpStatus stat,
                                            Throwable ex,
                                            org.springframework.web.context.request.WebRequest req)
    • Method Detail

      • getError

        public pro.taskana.common.api.exceptions.ErrorCode getError()
      • getStatus

        public int getStatus()
      • getException

        public String getException()
      • getMessage

        public String getMessage()
      • getPath

        public String getPath()