Hi, In user core [1] JDBCUserStoreManager, persistUser user method contains catching Throwable. In general catching Throwable is not a good practice because there may be some run time Errors like OutOfMemoryError which are not be able to handle. Is there any particular reason to catch Throwable?
[1] https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/jdbc/JDBCUserStoreManager.java -- Gayan Gunawardana Software Engineer; WSO2 Inc.; http://wso2.com/ Email: [email protected] Mobile: +94 (71) 8020933
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
