Class ErrorEntity
- java.lang.Object
-
- org.oxerr.commons.ws.rs.exceptionmapper.ErrorEntity
-
- All Implemented Interfaces:
Serializable
public class ErrorEntity extends Object implements Serializable
Response entity for exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorEntity()
ErrorEntity(Integer code, String message)
ErrorEntity(Integer code, String message, Throwable exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCode()
Throwable
getException()
String
getMessage()
void
setCode(Integer code)
void
setException(Throwable exception)
void
setMessage(String message)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
code
private Integer code
-
message
private String message
-
exception
private Throwable exception
-
-