How to error handle full storage?

I am using the Application.Storage module to store the data that failed to send through the web requests I made. My callback method for the web requests looks like this:

    function onReceive(responseCode, data) {
        if (responseCode != 200) {
            storeUnsentData(location,timestamp);
        } else {
            retrySending();
        }
    }
the storeUnsentData() method stores the location and timestamp using the setValue() method from the Storage module. The problem is I don't know what kind of exception it throws if I try to store data when the storage is full (128 KB as far as I know) so that I can catch this exception and handle it. I think catching all exceptions might be risky so I want to try to be more specific.