Class ErrorResponse

java.lang.Object
com.creativityfactory.swiftserver.error.ErrorResponse

public class ErrorResponse extends Object
A class representing an HTTP error message to be sent to the client.
  • Constructor Details

    • ErrorResponse

      public ErrorResponse()
  • Method Details

    • getTimestamp

      public Date getTimestamp()
    • setTimestamp

      public void setTimestamp(Date timestamp)
    • getStatus

      public int getStatus()
    • setStatus

      public void setStatus(int status)
    • getError

      public String getError()
    • setError

      public void setError(String error)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)