I have found solution to this problem
Since the AudioRecord doesn't throw any exceptions unlike MediaRecorder API, i have gone for another workaround.
When another recorder instance is running i have found that the read method returns 0 instead of ERROR_INVALID_OPERATION or ERROR_BAD_VALUE. So if the first read operation returns 0 , i showed an error message as "Recorder cannot be initialized".