Class CfgException

    • Constructor Detail

      • CfgException

        public CfgException​(int errorId,
                            String msg)
        Create an exception with an error code that maps to GlobalErrIds and message text.
        Parameters:
        errorId - see GlobalErrIds for list of valid error codes that can be set. Valid values between 0 & 100_000.
        msg - contains textual information including method of origin and description of the root cause.
      • CfgException

        public CfgException​(int errorId,
                            String msg,
                            Exception previousException)
        Create exception with error id, message and related exception.
        Parameters:
        errorId - see GlobalErrIds for list of valid error codes that can be set. Valid values between 0 & 100_000.
        msg - contains textual information including method of origin and description of the root cause.
        previousException - contains reference to related exception which usually is system related, i.e. ldap.