Class BaseRuntimeException

    • Constructor Detail

      • BaseRuntimeException

        protected BaseRuntimeException​(int errorId,
                                       String msgParam,
                                       Throwable previousException)
        Parameters:
        errorId - int contains the error id which is defined here GlobalErrIds.
        msgParam - contains message pertaining to exception.
        previousException - contains reference to related exception which usually is system related, i.e. ldap.
      • BaseRuntimeException

        protected BaseRuntimeException​(int errorId,
                                       String msgParam)
        Parameters:
        errorId - int contains the error id which is defined here GlobalErrIds.
        msgParam - contains message pertaining to exception.
    • Method Detail

      • getMsg

        public String getMsg()
        Return the message for current exception.
        Returns:
        string contains the error message.
      • getErrorId

        public int getErrorId()
        Return the error id that is defined by this class GlobalErrIds.
        Returns:
        error id which is defined here GlobalErrIds.