org.acm.seguin.awt
Class ExceptionPrinter

java.lang.Object
  extended by org.acm.seguin.awt.ExceptionPrinter
All Implemented Interfaces:
net.sourceforge.jrefactory.factory.ExceptionPrinter
Direct Known Subclasses:
GUIExceptionPrinter, JEditPrettyPrinter.JavaStyleExceptionPrinter, TextExceptionPrinter

public abstract class ExceptionPrinter
extends java.lang.Object
implements net.sourceforge.jrefactory.factory.ExceptionPrinter

Prints exceptions

Since:
2.6.33
Author:
Chris Seguin

Constructor Summary
ExceptionPrinter()
          Constructor for the ExceptionPrinter object
 
Method Summary
static int getExceptionsPrinted()
          Gets the exceptionsPrinted attribute of the ExceptionPrinter class
static ExceptionPrinter getInstance()
           
static void print(java.lang.Throwable exc, boolean interactive)
          Prints exceptions
abstract  void printException(java.lang.Throwable exc, boolean interactive)
          Prints exceptions
static void register(ExceptionPrinter printer)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionPrinter

public ExceptionPrinter()
Constructor for the ExceptionPrinter object

Since:
2.6.33
Method Detail

getInstance

public static ExceptionPrinter getInstance()

printException

public abstract void printException(java.lang.Throwable exc,
                                    boolean interactive)
Prints exceptions

Specified by:
printException in interface net.sourceforge.jrefactory.factory.ExceptionPrinter
Parameters:
exc - the exception to be printed
interactive - Description of the Parameter
Since:
2.6.33

getExceptionsPrinted

public static int getExceptionsPrinted()
Gets the exceptionsPrinted attribute of the ExceptionPrinter class

Returns:
The exceptionsPrinted value
Since:
2.6.33

print

public static void print(java.lang.Throwable exc,
                         boolean interactive)
Prints exceptions

Parameters:
exc - the exception to be printed
interactive - Is this interactive
Since:
2.6.33

register

public static void register(ExceptionPrinter printer)
Description of the Method

Parameters:
printer - Description of the Parameter
Since:
2.6.33