Lines Matching refs:BadLocationException
93 * @exception BadLocationException if the specified position is invalid
96 public UndoableEdit insertString(int where, String str) throws BadLocationException {
98 throw new BadLocationException("Invalid location", count);
114 * @exception BadLocationException if the specified position is invalid
117 public UndoableEdit remove(int where, int nitems) throws BadLocationException {
119 throw new BadLocationException("Invalid range", count);
137 * @exception BadLocationException if the specified position is invalid
140 public String getString(int where, int len) throws BadLocationException {
142 throw new BadLocationException("Invalid range", count);
153 * @exception BadLocationException if the specified position is invalid
156 public void getChars(int where, int len, Segment chars) throws BadLocationException {
158 throw new BadLocationException("Invalid location", count);
171 * @exception BadLocationException if the specified position is invalid
173 public Position createPosition(int offset) throws BadLocationException {
408 } catch (BadLocationException bl) {
425 } catch (BadLocationException bl) {
468 } catch (BadLocationException bl) {
483 } catch (BadLocationException bl) {