Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3211

Class IntegerDimEnc shuould give more exception information when the length is exceed the max or less than the min

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v2.3.0
    • None
    • None

    Description

      the message IllegalArgumentException in Class IntegerDimEnc is empty currently, it may cause confusion when using Kylin or troubleshooting a problem. 

      // code placeholder
      
      public IntDimEnc(int len) {
      if (len <= 0 || len >= CAP.length)
      throw new IllegalArgumentException();
      this.fixedLen = len;
      }
      
      

      Attachments

        Activity

          People

            Yifei_Wu94 Yifei Wu
            Yifei_Wu94 Yifei Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: