Class ErrorEntity
java.lang.Object
org.oxerr.commons.ws.rs.exceptionmapper.ErrorEntity
- All Implemented Interfaces:
Serializable
Response entity for exceptions.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionErrorEntity
(Integer code, String message) ErrorEntity
(Integer code, String message, Throwable exception) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
void
void
setException
(Throwable exception) void
setMessage
(String message)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
code
-
message
-
exception
-
-
Constructor Details
-
ErrorEntity
public ErrorEntity() -
ErrorEntity
-
ErrorEntity
-
-
Method Details
-
getCode
-
setCode
-
getMessage
-
setMessage
-
getException
-
setException
-