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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2.3.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: