Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more context details for exception printed for parameterOverloads validation #1374

Closed
mohanvive opened this issue Jul 4, 2019 · 1 comment

Comments

@mohanvive
Copy link
Contributor

Description:
parameterOverloads annotation help to perform compile time validation for input parameters (for siddhi execution extension). It checks for possible parameterOverloads and print an exception if there is no any matches.

See below exception trace, this could be improved by adding bit more contextual information of the exception. (such as possible supported parameterOverloads).

BayesianClassificationUpdaterStreamProcessorExtension TestCase - number of classes is not int
There is no parameterOverload for 'streamingml:updateBayesianClassification' that matches attribute types '[STRING, DOUBLE, STRING, STRING, DOUBLE, DOUBLE, DOUBLE, INT]'.

Affected Siddhi Version:
v5.0.2

@mohanvive
Copy link
Contributor Author

Fixed in #1375 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant