Commit 1e68c5f8 authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

comment fix, simplified unhandled IO_ERROR exception report in single_top.cpp.

parent 8f0a773b
Loading
Loading
Loading
Loading
+12 −11
Original line number Original line Diff line number Diff line
@@ -621,7 +621,6 @@ add_subdirectory( 3d-viewer )
add_subdirectory( cvpcb )
add_subdirectory( cvpcb )
add_subdirectory( eeschema )
add_subdirectory( eeschema )
add_subdirectory( gerbview )
add_subdirectory( gerbview )
add_subdirectory( kicad )
add_subdirectory( lib_dxf )
add_subdirectory( lib_dxf )
add_subdirectory( pcbnew )
add_subdirectory( pcbnew )
add_subdirectory( polygon )
add_subdirectory( polygon )
@@ -629,9 +628,11 @@ add_subdirectory( pagelayout_editor )
add_subdirectory( potrace )
add_subdirectory( potrace )
add_subdirectory( bitmap2component )
add_subdirectory( bitmap2component )
add_subdirectory( pcb_calculator )
add_subdirectory( pcb_calculator )
add_subdirectory( kicad )               # should follow pcbnew, eeschema
add_subdirectory( tools )
add_subdirectory( tools )
add_subdirectory( utils )
add_subdirectory( utils )
add_subdirectory( qa )
add_subdirectory( qa )

#add_subdirectory( new )
#add_subdirectory( new )




+2 −2
Original line number Original line Diff line number Diff line
@@ -198,8 +198,8 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
        // This is a fatal error, one from which we cannot recover, nor do we want
        // This is a fatal error, one from which we cannot recover, nor do we want
        // to protect against in client code which would require numerous noisy
        // to protect against in client code which would require numerous noisy
        // tests in numerous places.  So we inform the user that the installation
        // tests in numerous places.  So we inform the user that the installation
        // is bad.  This exception will likely not get caught until way up in
        // is bad.  This exception will likely not get caught until way up in the
        // PGM_BASE or a derivative, at which point the process will exit gracefully.
        // wxApp derivative, at which point the process will exit gracefully.
        THROW_IO_ERROR( msg );
        THROW_IO_ERROR( msg );
    }
    }


+1 −3
Original line number Original line Diff line number Diff line
@@ -176,9 +176,7 @@ struct APP_SINGLE_TOP : public wxApp
        }
        }
        catch( const IO_ERROR& ioe )
        catch( const IO_ERROR& ioe )
        {
        {
            wxLogError( wxT( "Unhandled exception class: %s  what: %s" ),
            wxLogError( GetChars( ioe.errorText ) );
                GetChars( FROM_UTF8( typeid( ioe ).name() ) ),
                GetChars( ioe.errorText ) );
        }
        }
        catch(...)
        catch(...)
        {
        {