com.mungoknotwise.sqlcli
Class PrintStreamedExceptionHandler

java.lang.Object
  |
  +--com.mungoknotwise.sqlcli.BasicPrintStreamed
        |
        +--com.mungoknotwise.sqlcli.PrintStreamedExceptionHandler
All Implemented Interfaces:
ExceptionHandler, PrintStreamed

public class PrintStreamedExceptionHandler
extends BasicPrintStreamed
implements ExceptionHandler

Implementation of ExceptionHandler that writes exception details to the object's print streams.

Version:
$Id: PrintStreamedExceptionHandler.java,v 1.1.1.1 2004/07/28 01:12:38 mungoknotwise Exp $
Author:
Steven Caswell

Constructor Summary
PrintStreamedExceptionHandler()
          Constructs a new instance of PrintStreamedExceptionHandler.
 
Method Summary
 void handleException(java.lang.Exception e)
          Handles the specified exception.
 
Methods inherited from class com.mungoknotwise.sqlcli.BasicPrintStreamed
addPrintStream, print, println, removePrintStream, streamIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintStreamedExceptionHandler

public PrintStreamedExceptionHandler()
Constructs a new instance of PrintStreamedExceptionHandler.

Method Detail

handleException

public void handleException(java.lang.Exception e)
Handles the specified exception.

Specified by:
handleException in interface ExceptionHandler
Parameters:
e - the exception to be handled


Copyright © 2004 Steven Caswell. All Rights Reserved.