Class SafeDocument.RunnableWithBadLocException

java.lang.Object
org.bzdev.swing.text.SafeDocument.RunnableWithBadLocException
All Implemented Interfaces:
Runnable
Enclosing class:
SafeDocument

public abstract class SafeDocument.RunnableWithBadLocException extends Object
Class to run a thread while logging any BadLocationException that occurs.
  • Constructor Details

    • RunnableWithBadLocException

      public RunnableWithBadLocException()
  • Method Details

    • doit

      protected void doit()
      The operation to perform.
    • doitBLE

      protected abstract void doitBLE() throws BadLocationException
      The code the runnable will execute.
      Throws:
      BadLocationException - a BadLocationException was thrown
    • run

      public void run()
      Specified by:
      run in interface Runnable