catching SqlEXceptions in DataImport Time

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

catching SqlEXceptions in DataImport Time

kishan
HI all,
iam using solr 1.4.0
recently i observed  in my solr logs that because of the invalid userName
i got java.sql.SQLException: Access denied for user '1234'@'localhost
i resolved this but iam not able to capture this in my code .


how can i catch the SqlEXceptions in Solr-DataImport


please suggest me ,

thanks in advance.