001 package com.croftsoft.core.lang.ex; 002 003 /********************************************************************* 004 * 005 * A concrete ExceptionListener that simply calls printStackTrace(). 006 * 007 * @author 008 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 009 * @version 010 * 1998-12-05 011 *********************************************************************/ 012 013 public class PrintExceptionListener implements ExceptionListener 014 ////////////////////////////////////////////////////////////////////// 015 ////////////////////////////////////////////////////////////////////// 016 { 017 018 public void threwException ( Object o, Exception ex ) 019 ////////////////////////////////////////////////////////////////////// 020 { 021 ex.printStackTrace ( ); 022 } 023 024 ////////////////////////////////////////////////////////////////////// 025 ////////////////////////////////////////////////////////////////////// 026 }