Lines Matching refs:BadLocationException

494      * @exception BadLocationException if the offset is out of range
496 public static final int getRowStart(JTextComponent c, int offs) throws BadLocationException {
524 * @exception BadLocationException if the offset is out of range
526 public static final int getRowEnd(JTextComponent c, int offs) throws BadLocationException {
556 * @exception BadLocationException if the offset is out of range
558 public static final int getPositionAbove(JTextComponent c, int offs, int x) throws BadLocationException {
593 * @exception BadLocationException if the offset is out of range
595 public static final int getPositionBelow(JTextComponent c, int offs, int x) throws BadLocationException {
627 * @exception BadLocationException if the offset is out of range
629 public static final int getWordStart(JTextComponent c, int offs) throws BadLocationException {
633 throw new BadLocationException("No word at " + offs, offs);
661 * @exception BadLocationException if the offset is out of range
663 public static final int getWordEnd(JTextComponent c, int offs) throws BadLocationException {
667 throw new BadLocationException("No word at " + offs, offs);
694 * @exception BadLocationException if the offset is out of range
696 public static final int getNextWord(JTextComponent c, int offs) throws BadLocationException {
717 static int getNextWordInParagraph(JTextComponent c, Element line, int offs, boolean first) throws BadLocationException {
719 throw new BadLocationException("No more words", offs);
725 throw new BadLocationException("No more words", offs);
772 * @exception BadLocationException if the offset is out of range
774 public static final int getPreviousWord(JTextComponent c, int offs) throws BadLocationException {
795 static int getPrevWordInParagraph(JTextComponent c, Element line, int offs) throws BadLocationException {
797 throw new BadLocationException("No more words", offs);
803 throw new BadLocationException("No more words", offs);
893 throws BadLocationException {
989 * @exception BadLocationException
995 throws BadLocationException {