Class BaseException

    • Method Detail

      • getErrorId

        public int getErrorId()
        Return the error id that is defined by this class GlobalErrIds.
        Specified by:
        getErrorId in interface StandardException
        Returns:
        error id which is defined here GlobalErrIds. Valid values for Fortress error codes fall between 0 and 100_000.
      • getHttpStatus

        public int getHttpStatus()
        Returns the HTTP Status code mapped to represent this error
        Returns:
        HTTP status code assigned for this exception
      • setHttpStatus

        public void setHttpStatus​(int httpStatus)