[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22925] GapContent members throw other exceptions, not Bad
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug classpath/22925] GapContent members throw other exceptions, not BadLocationException |
Date: |
16 Oct 2005 01:27:41 -0000 |
In javax.swing.text.GapContent:
Some methods should throw BadLocationException if there is an index error, but
they would throw other exceptions instead:
insertString would throw StringIndexOutOfBoundsException
remove would throw StringIndexOutOfBoundsException
getString would throw StringIndexOutOfBoundsException
getChars would throw IndexOutOfBoundsException
------- Comment #1 from from-classpath at savannah dot gnu dot org 2005-04-25
11:50 -------
I stumbled over the exact same Exceptions. I'm going to fully implement the
GapContent class. That will fix this bug too.
------- Comment #2 from from-classpath at savannah dot gnu dot org 2005-07-13
17:21 -------
This is fixed since some months. I'll close this now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22925
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/22925] GapContent members throw other exceptions, not BadLocationException,
gcc-bugzilla at gcc dot gnu dot org <=