Package pro.taskana.common.rest.models
Class ExceptionRepresentationModel
- java.lang.Object
-
- pro.taskana.common.rest.models.ExceptionRepresentationModel
-
public class ExceptionRepresentationModel extends Object
This class holds error data.
-
-
Constructor Summary
Constructors Constructor Description ExceptionRepresentationModel(pro.taskana.common.api.exceptions.ErrorCode errorCode, org.springframework.http.HttpStatus stat, Throwable ex, org.springframework.web.context.request.WebRequest req)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pro.taskana.common.api.exceptions.ErrorCodegetError()StringgetException()StringgetMessage()StringgetPath()intgetStatus()StringtoString()
-
-
-
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)
-
-