Class ExceptionRepresentationModel

java.lang.Object
pro.taskana.common.rest.models.ExceptionRepresentationModel

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

    • 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 Details

    • 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()
    • toString

      public String toString()
      Overrides:
      toString in class Object