Class ErrorEntity
java.lang.Object
org.oxerr.commons.ws.rs.exceptionmapper.ErrorEntity
- All Implemented Interfaces:
Serializable
Response entity for exceptions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionErrorEntity(Integer code, String message) ErrorEntity(Integer code, String message, Throwable exception) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()voidvoidsetException(Throwable exception) voidsetMessage(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
-