URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12796>

                 Summary: GapContent members throw other exceptions, not
BadLocationException
                 Project: classpath
            Submitted by: None
            Submitted on: Mon 04/25/2005 at 06:53
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

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








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12796>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Commit-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-classpath

Reply via email to