Class Failure

    • Field Detail

      • errorCode

        protected int errorCode
      • loggable

        protected boolean loggable
      • response

        protected javax.ws.rs.core.Response response
    • Constructor Detail

      • Failure

        public Failure​(String s,
                       javax.ws.rs.core.Response response)
      • Failure

        public Failure​(String s,
                       Throwable throwable,
                       javax.ws.rs.core.Response response)
      • Failure

        public Failure​(Throwable throwable,
                       javax.ws.rs.core.Response response)
      • Failure

        public Failure​(Throwable throwable)
      • Failure

        public Failure​(String s)
      • Failure

        public Failure​(int errorCode)
      • Failure

        public Failure​(String s,
                       int errorCode)
      • Failure

        public Failure​(String s,
                       Throwable throwable,
                       int errorCode)
      • Failure

        public Failure​(Throwable throwable,
                       int errorCode)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
      • setErrorCode

        public void setErrorCode​(int errorCode)
      • isLoggable

        public boolean isLoggable()
      • setLoggable

        public void setLoggable​(boolean loggable)
      • getResponse

        public javax.ws.rs.core.Response getResponse()
      • setResponse

        public void setResponse​(javax.ws.rs.core.Response response)