tests/utils/monitor/org/apache/test/ChildHandler.java
/**
     * This method can be overridden to do specific things for the class but this superclass methodf
     * should always be called  
     *
     */
This method can be overridden to do specific things for the class but this superclass methodf
should always be called
This method can be overridden to do specific things for the class but this superclass methodf should always be called
protected void close()
    {
        try 
        {
            if(children!=null)
            {
            for(int i=0; i<children.size(); i++)
            {
                ChildHandler child = (ChildHandler)children.remove(i);
                try 
                {
                    child.close();
                }
                catch (Throwable exception)
                {
                }                
            }
            }
            children=null;
        }
        catch (Throwable exception)
        {
            System.out.println( "Exception in ChildHandler.close()...");            
            exception.printStackTrace( );
        }
    }
protected void close ( ) { try { if ( children != null ) { for ( int i = 0 ; i < children . size ( ) ; i ++ ) { ChildHandler child = ( ChildHandler ) children . remove ( i ) ; try { child . close ( ) ; } catch ( Throwable exception ) { } } } children = null ; } catch ( Throwable exception ) { System . out . println ( "Exception in ChildHandler.close()..." ) ; exception . printStackTrace ( ) ; } }
This method can be overridden to do specific things for the class but this superclass methodf
 should always be called
This method can be overridden to do specific things for the class but this superclass methodf should always be called
//        System.out.println( "Closing "+this);
 // Swallow exceptions on close....
 //System.out.println( "Exception in ChildHandler.close()...");            
 //exception.printStackTrace( );
 //            System.out.println( "Closed "+this);
