We are writing Siddhi extensions for a training project "Adding Sketching algorithms for CEP operators" [1]. There we are implementing a Siddhi window for Top-K selection algorithm implementation. There was a requirement to handle the Exception thrown by stream-lib (Java library used for Top-K algorithm) as well as to throw Exceptions manually when certain conditions occur in window class. What is the standard way of handling exceptions in Siddhi windows? I guess, Exceptions should be caught and a general Exception should be thrown. If so, What is the general Exception type should be thrown?
[1] - https://redmine.wso2.com/issues/2884 -- Best Regards, V.Rajeevan Software Engineer, WSO2 Inc. :http://wso2.com Mobile : +94 773090875 Email : [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
