Class ErrorResponse
java.lang.Object
com.creativityfactory.swiftserver.error.ErrorResponse
A class representing an HTTP error message to be sent to the client.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
getPath()
int
void
void
setMessage
(String message) void
void
setStatus
(int status) void
setTimestamp
(Date timestamp)
-
Constructor Details
-
ErrorResponse
public ErrorResponse()
-
-
Method Details
-
getTimestamp
-
setTimestamp
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getError
-
setError
-
getMessage
-
setMessage
-
getPath
-
setPath
-