Lines Matching refs:BadLocationException
124 * @exception BadLocationException if the specified position is invalid
127 public UndoableEdit insertString(int where, String str) throws BadLocationException {
129 throw new BadLocationException("Invalid insert", length());
142 * @exception BadLocationException if the specified position is invalid
145 public UndoableEdit remove(int where, int nitems) throws BadLocationException {
147 throw new BadLocationException("Invalid remove", length() + 1);
162 * @exception BadLocationException if the specified position is invalid
165 public String getString(int where, int len) throws BadLocationException {
180 * @exception BadLocationException if the specified position is invalid
183 public void getChars(int where, int len, Segment chars) throws BadLocationException {
186 throw new BadLocationException("Invalid location", -1);
189 throw new BadLocationException("Invalid location", length() + 1);
227 * @exception BadLocationException if the specified position is invalid
229 public Position createPosition(int offset) throws BadLocationException {
872 } catch (BadLocationException bl) {
887 } catch (BadLocationException bl) {
927 } catch (BadLocationException bl) {
939 } catch (BadLocationException bl) {