frysk.util
Class FCatch

java.lang.Object
  extended by frysk.util.FCatch

public class FCatch
extends Object


Nested Class Summary
(package private)  class FCatch.CatchObserver
          An observer that sets up things once frysk has set up the requested proc and attached to it.
private static class FCatch.SignalStack
           
 
Field Summary
private static Log fine
           
private  PrintWriter printWriter
           
(package private)  HashMap signaledTasks
           
private  PrintDebugInfoStackOptions stackPrintOptions
           
 
Constructor Summary
FCatch()
           
 
Method Summary
private  OptionGroup[] options()
           
private  void printStackTrace(Task task, FCatch.SignalStack signalStack)
          Builds a stack trace from the incoming blocked task, and appends the output to this class' StringBuffer.
 void run(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fine

private static final Log fine

stackPrintOptions

private final PrintDebugInfoStackOptions stackPrintOptions

printWriter

private PrintWriter printWriter

signaledTasks

HashMap signaledTasks
Constructor Detail

FCatch

public FCatch()
Method Detail

printStackTrace

private void printStackTrace(Task task,
                             FCatch.SignalStack signalStack)
Builds a stack trace from the incoming blocked task, and appends the output to this class' StringBuffer. Decrements the numTasks variable to let FCatch know when to unblock the signaled thread.

Parameters:
task - The Task to be StackTraced

options

private OptionGroup[] options()

run

public void run(String[] args)