Package cronapi

Class ErrorResponse


  • public class ErrorResponse
    extends Object
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse​(int status,
                             Throwable ex,
                             String method)
    • Method Detail

      • getError

        public String getError()
      • getMethod

        public String getMethod()
      • setError

        public void setError​(String error)
      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)
      • getStackTrace

        public String getStackTrace()
      • setStackTrace

        public void setStackTrace​(String stackTrace)
      • getMessageWithoutPackage

        public static String getMessageWithoutPackage​(Throwable ex)
      • getConstraintViolationException

        public static String getConstraintViolationException​(Throwable ex)