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:
  • Field Details

  • Constructor Details

    • ErrorEntity

      public ErrorEntity()
    • ErrorEntity

      public ErrorEntity(Integer code, String message)
    • ErrorEntity

      public ErrorEntity(Integer code, String message, Throwable exception)
  • Method Details

    • getCode

      public Integer getCode()
    • setCode

      public void setCode(Integer code)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getException

      public Throwable getException()
    • setException

      public void setException(Throwable exception)