Sorry, I didn't catch - what for the second catch block was inserted:
-----Original Message----- Author: mloenko Date: Fri May 26 02:25:03 2006 New Revision: 409607 URL: http://svn.apache.org/viewvc?rev=409607&view=rev Log: fixes and test for HARMONY-467 [classlib][luni] Harmony should follow the "Exception-throwing compatibility" guidelines <SNIP> + public void test_decodeLjava_lang_String_Ljava_lang_String() { + try { + URLDecoder.decode("", ""); + fail("UnsupportedEncodingException expected"); + } catch (UnsupportedEncodingException e) { + // expected + } catch (Exception e) { + assertEquals(UnsupportedEncodingException.class, e.getClass()); + } + } <SNIP> Thanks, Stepan Mishura Intel Middleware Products Division ------------------------------------------------------ Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]