kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yifei Wu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-3211) Class IntegerDimEnc shuould give more exception information when the length is exceed the max or less than the min
Date Mon, 29 Jan 2018 13:19:01 GMT

     [ 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)

Mime
View raw message