What?

Looking at the messages you posted:

01:00:50 E/AndroidRuntime(935): FATAL EXCEPTION: SyncAdapterThread-1

_*java.lang.AssertionError*_: java.net.SocketTimeoutException

at android.util.Xml.parse(Xml.java:89)

Looking at the source, Xml.java:

    public static void parse(InputStream in, Encoding encoding,
ContentHandler contentHandler) throws IOException, SAXException {
        try {
            XMLReader reader = new ExpatReader();
            reader.setContentHandler(contentHandler);
            InputSource source = new InputSource(in);
            source.setEncoding(encoding.expatName);
            reader.parse(source);
        } _*catch (IOException e) {
            throw new AssertionError(e);*_
        }
    }


Let me guess, you haven't actually tried typing three lines of code to try and catch AssertionError?

-- Kostya

17.03.2011 11:23, a a пишет:
no, it's not re-thrown, just can't catch the SockectTimeoutException.

2011/3/17 Kostya Vasilyev<[email protected]>:
Ah (typing from the phone).

Try catching AssertionError - looks that's how it gets re-thrown.

17.03.2011 8:57 пользователь "a a"<[email protected]>  написал:

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to