org.netbeans.modules.editor.lib/3 3.23.0 19

org.netbeans.editor
Class GuardedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.swing.text.BadLocationException
              extended by org.netbeans.editor.GuardedException
All Implemented Interfaces:
Serializable

public class GuardedException
extends BadLocationException

Attempt to insert or remove from the guarded block has been done.
Also it's thrown when modification is prohibited (CloneableEditorSupport sets a "modificationListener" and possibly responds by VetoException to signal that document is unmodifiable) since this is in fact a case when document is fully guarded.

See Also:
Serialized Form

Constructor Summary
GuardedException(String s, int offs)
           
 
Method Summary
 
Methods inherited from class javax.swing.text.BadLocationException
offsetRequested
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GuardedException

public GuardedException(String s,
                        int offs)

org.netbeans.modules.editor.lib/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.