[ 
https://issues.apache.org/jira/browse/KYLIN-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yifei Wu updated KYLIN-3211:
----------------------------
    Description: 
the message IllegalArgumentException in Class IntegerDimEnc is empty currently, 
it may cause confusion when using Kylin or troubleshooting a problem. 
{code:java}
// code placeholder

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

{code}

  was:the message IllegalArgumentException


> Class IntegerDimEnc shuould give more exception information when the length 
> is exceed the max or less than the min
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-3211
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3211
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Yifei Wu
>            Assignee: Yifei Wu
>            Priority: Major
>
> the message IllegalArgumentException in Class IntegerDimEnc is empty 
> currently, it may cause confusion when using Kylin or troubleshooting a 
> problem. 
> {code:java}
> // code placeholder
> public IntDimEnc(int len) {
> if (len <= 0 || len >= CAP.length)
> throw new IllegalArgumentException();
> this.fixedLen = len;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to