Loading common/dsnlexer.cpp +14 −14 Original line number Original line Diff line number Diff line Loading @@ -224,18 +224,18 @@ bool DSNLEXER::IsSymbol( int aTok ) } } void DSNLEXER::ThrowIOError( wxString aText, int charOffset ) throw (IOError) void DSNLEXER::ThrowIOError( wxString aText, int charOffset ) throw( IO_ERROR ) { { // append to aText, do not overwrite // append to aText, do not overwrite aText << wxT(" ") << _("in") << wxT(" \"") << CurSource() aText << wxT(" ") << _("in") << wxT(" \"") << CurSource() << wxT("\" ") << _("on line") << wxT(" ") << reader->LineNumber() << wxT("\" ") << _("on line") << wxT(" ") << reader->LineNumber() << wxT(" ") << _("at offset") << wxT(" ") << charOffset; << wxT(" ") << _("at offset") << wxT(" ") << charOffset; throw IOError( aText ); throw IO_ERROR( aText ); } } void DSNLEXER::Expecting( int aTok ) throw( IOError ) void DSNLEXER::Expecting( int aTok ) throw( IO_ERROR ) { { wxString errText( _("Expecting") ); wxString errText( _("Expecting") ); errText << wxT(" ") << GetTokenString( aTok ); errText << wxT(" ") << GetTokenString( aTok ); Loading @@ -243,7 +243,7 @@ void DSNLEXER::Expecting( int aTok ) throw( IOError ) } } void DSNLEXER::Expecting( const wxString& text ) throw( IOError ) void DSNLEXER::Expecting( const wxString& text ) throw( IO_ERROR ) { { wxString errText( _("Expecting") ); wxString errText( _("Expecting") ); errText << wxT(" '") << text << wxT("'"); errText << wxT(" '") << text << wxT("'"); Loading @@ -251,7 +251,7 @@ void DSNLEXER::Expecting( const wxString& text ) throw( IOError ) } } void DSNLEXER::Unexpected( int aTok ) throw( IOError ) void DSNLEXER::Unexpected( int aTok ) throw( IO_ERROR ) { { wxString errText( _("Unexpected") ); wxString errText( _("Unexpected") ); errText << wxT(" ") << GetTokenString( aTok ); errText << wxT(" ") << GetTokenString( aTok ); Loading @@ -259,7 +259,7 @@ void DSNLEXER::Unexpected( int aTok ) throw( IOError ) } } void DSNLEXER::Unexpected( const wxString& text ) throw( IOError ) void DSNLEXER::Unexpected( const wxString& text ) throw( IO_ERROR ) { { wxString errText( _("Unexpected") ); wxString errText( _("Unexpected") ); errText << wxT(" '") << text << wxT("'"); errText << wxT(" '") << text << wxT("'"); Loading @@ -267,7 +267,7 @@ void DSNLEXER::Unexpected( const wxString& text ) throw( IOError ) } } void DSNLEXER::NeedLEFT() throw( IOError ) void DSNLEXER::NeedLEFT() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( tok != DSN_LEFT ) if( tok != DSN_LEFT ) Loading @@ -275,7 +275,7 @@ void DSNLEXER::NeedLEFT() throw( IOError ) } } void DSNLEXER::NeedRIGHT() throw( IOError ) void DSNLEXER::NeedRIGHT() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( tok != DSN_RIGHT ) if( tok != DSN_RIGHT ) Loading @@ -283,7 +283,7 @@ void DSNLEXER::NeedRIGHT() throw( IOError ) } } int DSNLEXER::NeedSYMBOL() throw( IOError ) int DSNLEXER::NeedSYMBOL() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( !IsSymbol( tok ) ) if( !IsSymbol( tok ) ) Loading @@ -292,7 +292,7 @@ int DSNLEXER::NeedSYMBOL() throw( IOError ) } } int DSNLEXER::NeedSYMBOLorNUMBER() throw( IOError ) int DSNLEXER::NeedSYMBOLorNUMBER() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( !IsSymbol( tok ) && tok!=DSN_NUMBER ) if( !IsSymbol( tok ) && tok!=DSN_NUMBER ) Loading @@ -312,7 +312,7 @@ static inline bool isSpace( int cc ) } } int DSNLEXER::NextTok() throw (IOError) int DSNLEXER::NextTok() throw( IO_ERROR ) { { char* cur = next; char* cur = next; char* head = cur; char* head = cur; Loading Loading @@ -1380,7 +1380,7 @@ class DSNTEST : public wxApp DSNLEXER* lexer; DSNLEXER* lexer; int nestLevel; int nestLevel; void recursion() throw( IOError ); void recursion() throw( IO_ERROR ); void indent() void indent() { { Loading Loading @@ -1485,7 +1485,7 @@ bool DSNTEST::OnInit() } } printf("\n"); printf("\n"); } } catch( IOError ioe ) catch( IO_ERROR ioe ) { { fprintf( stderr, "%s\n", CONV_TO_UTF8( ioe.errorText ) ); fprintf( stderr, "%s\n", CONV_TO_UTF8( ioe.errorText ) ); } } Loading @@ -1494,7 +1494,7 @@ bool DSNTEST::OnInit() } } void DSNTEST::recursion() throw(IOError) void DSNTEST::recursion() throw( IO_ERROR ) { { int tok; int tok; const char* space = ""; const char* space = ""; Loading common/richio.cpp +12 −12 Original line number Original line Diff line number Diff line Loading @@ -90,7 +90,7 @@ FILE_LINE_READER::FILE_LINE_READER( FILE* aFile, const wxString& aFileName, unsi } } unsigned FILE_LINE_READER::ReadLine() throw (IOError) unsigned FILE_LINE_READER::ReadLine() throw( IO_ERROR ) { { length = 0; length = 0; line[0] = 0; line[0] = 0; Loading @@ -101,7 +101,7 @@ unsigned FILE_LINE_READER::ReadLine() throw (IOError) length += strlen( line + length ); length += strlen( line + length ); if( length == maxLineLength ) if( length == maxLineLength ) throw IOError( _("Line length exceeded") ); throw IO_ERROR( _("Line length exceeded") ); // a normal line breaks here, once through while loop // a normal line breaks here, once through while loop if( length+1 < capacity || line[length-1] == '\n' ) if( length+1 < capacity || line[length-1] == '\n' ) Loading @@ -117,7 +117,7 @@ unsigned FILE_LINE_READER::ReadLine() throw (IOError) } } unsigned STRING_LINE_READER::ReadLine() throw (IOError) unsigned STRING_LINE_READER::ReadLine() throw( IO_ERROR ) { { size_t nlOffset = lines.find( '\n', ndx ); size_t nlOffset = lines.find( '\n', ndx ); Loading @@ -129,7 +129,7 @@ unsigned STRING_LINE_READER::ReadLine() throw (IOError) if( length ) if( length ) { { if( length >= maxLineLength ) if( length >= maxLineLength ) throw IOError( _("Line length exceeded") ); throw IO_ERROR( _("Line length exceeded") ); if( length+1 > capacity ) // +1 for terminating nul if( length+1 > capacity ) // +1 for terminating nul expandCapacity( length+1 ); expandCapacity( length+1 ); Loading Loading @@ -186,7 +186,7 @@ const char* OUTPUTFORMATTER::GetQuoteChar( const char* wrapee, const char* quote } } int OUTPUTFORMATTER::vprint( const char* fmt, va_list ap ) throw( IOError ) int OUTPUTFORMATTER::vprint( const char* fmt, va_list ap ) throw( IO_ERROR ) { { int ret = vsnprintf( &buffer[0], buffer.size(), fmt, ap ); int ret = vsnprintf( &buffer[0], buffer.size(), fmt, ap ); if( ret >= (int) buffer.size() ) if( ret >= (int) buffer.size() ) Loading @@ -202,7 +202,7 @@ int OUTPUTFORMATTER::vprint( const char* fmt, va_list ap ) throw( IOError ) } } int OUTPUTFORMATTER::sprint( const char* fmt, ... ) throw( IOError ) int OUTPUTFORMATTER::sprint( const char* fmt, ... ) throw( IO_ERROR ) { { va_list args; va_list args; Loading @@ -214,7 +214,7 @@ int OUTPUTFORMATTER::sprint( const char* fmt, ... ) throw( IOError ) } } int OUTPUTFORMATTER::Print( int nestLevel, const char* fmt, ... ) throw( IOError ) int OUTPUTFORMATTER::Print( int nestLevel, const char* fmt, ... ) throw( IO_ERROR ) { { #define NESTWIDTH 2 ///< how many spaces per nestLevel #define NESTWIDTH 2 ///< how many spaces per nestLevel Loading Loading @@ -243,7 +243,7 @@ int OUTPUTFORMATTER::Print( int nestLevel, const char* fmt, ... ) throw( IOError } } const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IOError ) const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IO_ERROR ) { { // derived class's notion of what a quote character is // derived class's notion of what a quote character is char quote = *GetQuoteChar( "(" ); char quote = *GetQuoteChar( "(" ); Loading @@ -268,7 +268,7 @@ const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IOError ) // a decision was made to make all S-expression strings be on a single // a decision was made to make all S-expression strings be on a single // line. You can embedd \n (human readable) in the text but not // line. You can embedd \n (human readable) in the text but not // '\n' which is 0x0a. // '\n' which is 0x0a. throw IOError( _( "S-expression string has newline" ) ); throw IO_ERROR( _( "S-expression string has newline" ) ); } } } } Loading @@ -285,7 +285,7 @@ const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IOError ) //-----<STRING_FORMATTER>---------------------------------------------------- //-----<STRING_FORMATTER>---------------------------------------------------- void STRING_FORMATTER::write( const char* aOutBuf, int aCount ) throw( IOError ) void STRING_FORMATTER::write( const char* aOutBuf, int aCount ) throw( IO_ERROR ) { { mystring.append( aOutBuf, aCount ); mystring.append( aOutBuf, aCount ); } } Loading Loading @@ -314,7 +314,7 @@ const char* STREAM_OUTPUTFORMATTER::GetQuoteChar( const char* wrapee ) } } void STREAM_OUTPUTFORMATTER::write( const char* aOutBuf, int aCount ) throw( IOError ) void STREAM_OUTPUTFORMATTER::write( const char* aOutBuf, int aCount ) throw( IO_ERROR ) { { int lastWrite; int lastWrite; Loading @@ -326,7 +326,7 @@ void STREAM_OUTPUTFORMATTER::write( const char* aOutBuf, int aCount ) throw( IOE if( !os.IsOk() ) if( !os.IsOk() ) { { throw IOError( _( "OUTPUTSTREAM_OUTPUTFORMATTER write error" ) ); throw IO_ERROR( _( "OUTPUTSTREAM_OUTPUTFORMATTER write error" ) ); } } } } } } Loading common/xnode.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -29,7 +29,7 @@ typedef wxXmlProperty XATTR; typedef wxXmlProperty XATTR; void XNODE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) void XNODE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IO_ERROR ) { { switch( GetType() ) switch( GetType() ) { { Loading @@ -48,7 +48,7 @@ void XNODE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) } } void XNODE::FormatContents( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) void XNODE::FormatContents( OUTPUTFORMATTER* out, int nestLevel ) throw( IO_ERROR ) { { std::string utf8; std::string utf8; Loading eeschema/eeschema_config.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -613,7 +613,7 @@ void WinEDA_SchematicFrame::LoadSettings() { { m_TemplateFieldNames.Parse( &lexer ); m_TemplateFieldNames.Parse( &lexer ); } } catch( IOError e ) catch( IO_ERROR e ) { { // @todo show error msg // @todo show error msg D(printf("templatefieldnames parsing error: '%s'\n", D(printf("templatefieldnames parsing error: '%s'\n", Loading eeschema/netform.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1055,7 +1055,7 @@ bool EXPORT_HELP::WriteGENERICNetList( WinEDA_SchematicFrame* frame, const wxStr STREAM_OUTPUTFORMATTER outputFormatter( os ); STREAM_OUTPUTFORMATTER outputFormatter( os ); xroot->Format( &outputFormatter, 0 ); xroot->Format( &outputFormatter, 0 ); } } catch( IOError ioe ) catch( IO_ERROR ioe ) { { delete xroot; delete xroot; goto L_error; goto L_error; Loading Loading
common/dsnlexer.cpp +14 −14 Original line number Original line Diff line number Diff line Loading @@ -224,18 +224,18 @@ bool DSNLEXER::IsSymbol( int aTok ) } } void DSNLEXER::ThrowIOError( wxString aText, int charOffset ) throw (IOError) void DSNLEXER::ThrowIOError( wxString aText, int charOffset ) throw( IO_ERROR ) { { // append to aText, do not overwrite // append to aText, do not overwrite aText << wxT(" ") << _("in") << wxT(" \"") << CurSource() aText << wxT(" ") << _("in") << wxT(" \"") << CurSource() << wxT("\" ") << _("on line") << wxT(" ") << reader->LineNumber() << wxT("\" ") << _("on line") << wxT(" ") << reader->LineNumber() << wxT(" ") << _("at offset") << wxT(" ") << charOffset; << wxT(" ") << _("at offset") << wxT(" ") << charOffset; throw IOError( aText ); throw IO_ERROR( aText ); } } void DSNLEXER::Expecting( int aTok ) throw( IOError ) void DSNLEXER::Expecting( int aTok ) throw( IO_ERROR ) { { wxString errText( _("Expecting") ); wxString errText( _("Expecting") ); errText << wxT(" ") << GetTokenString( aTok ); errText << wxT(" ") << GetTokenString( aTok ); Loading @@ -243,7 +243,7 @@ void DSNLEXER::Expecting( int aTok ) throw( IOError ) } } void DSNLEXER::Expecting( const wxString& text ) throw( IOError ) void DSNLEXER::Expecting( const wxString& text ) throw( IO_ERROR ) { { wxString errText( _("Expecting") ); wxString errText( _("Expecting") ); errText << wxT(" '") << text << wxT("'"); errText << wxT(" '") << text << wxT("'"); Loading @@ -251,7 +251,7 @@ void DSNLEXER::Expecting( const wxString& text ) throw( IOError ) } } void DSNLEXER::Unexpected( int aTok ) throw( IOError ) void DSNLEXER::Unexpected( int aTok ) throw( IO_ERROR ) { { wxString errText( _("Unexpected") ); wxString errText( _("Unexpected") ); errText << wxT(" ") << GetTokenString( aTok ); errText << wxT(" ") << GetTokenString( aTok ); Loading @@ -259,7 +259,7 @@ void DSNLEXER::Unexpected( int aTok ) throw( IOError ) } } void DSNLEXER::Unexpected( const wxString& text ) throw( IOError ) void DSNLEXER::Unexpected( const wxString& text ) throw( IO_ERROR ) { { wxString errText( _("Unexpected") ); wxString errText( _("Unexpected") ); errText << wxT(" '") << text << wxT("'"); errText << wxT(" '") << text << wxT("'"); Loading @@ -267,7 +267,7 @@ void DSNLEXER::Unexpected( const wxString& text ) throw( IOError ) } } void DSNLEXER::NeedLEFT() throw( IOError ) void DSNLEXER::NeedLEFT() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( tok != DSN_LEFT ) if( tok != DSN_LEFT ) Loading @@ -275,7 +275,7 @@ void DSNLEXER::NeedLEFT() throw( IOError ) } } void DSNLEXER::NeedRIGHT() throw( IOError ) void DSNLEXER::NeedRIGHT() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( tok != DSN_RIGHT ) if( tok != DSN_RIGHT ) Loading @@ -283,7 +283,7 @@ void DSNLEXER::NeedRIGHT() throw( IOError ) } } int DSNLEXER::NeedSYMBOL() throw( IOError ) int DSNLEXER::NeedSYMBOL() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( !IsSymbol( tok ) ) if( !IsSymbol( tok ) ) Loading @@ -292,7 +292,7 @@ int DSNLEXER::NeedSYMBOL() throw( IOError ) } } int DSNLEXER::NeedSYMBOLorNUMBER() throw( IOError ) int DSNLEXER::NeedSYMBOLorNUMBER() throw( IO_ERROR ) { { int tok = NextTok(); int tok = NextTok(); if( !IsSymbol( tok ) && tok!=DSN_NUMBER ) if( !IsSymbol( tok ) && tok!=DSN_NUMBER ) Loading @@ -312,7 +312,7 @@ static inline bool isSpace( int cc ) } } int DSNLEXER::NextTok() throw (IOError) int DSNLEXER::NextTok() throw( IO_ERROR ) { { char* cur = next; char* cur = next; char* head = cur; char* head = cur; Loading Loading @@ -1380,7 +1380,7 @@ class DSNTEST : public wxApp DSNLEXER* lexer; DSNLEXER* lexer; int nestLevel; int nestLevel; void recursion() throw( IOError ); void recursion() throw( IO_ERROR ); void indent() void indent() { { Loading Loading @@ -1485,7 +1485,7 @@ bool DSNTEST::OnInit() } } printf("\n"); printf("\n"); } } catch( IOError ioe ) catch( IO_ERROR ioe ) { { fprintf( stderr, "%s\n", CONV_TO_UTF8( ioe.errorText ) ); fprintf( stderr, "%s\n", CONV_TO_UTF8( ioe.errorText ) ); } } Loading @@ -1494,7 +1494,7 @@ bool DSNTEST::OnInit() } } void DSNTEST::recursion() throw(IOError) void DSNTEST::recursion() throw( IO_ERROR ) { { int tok; int tok; const char* space = ""; const char* space = ""; Loading
common/richio.cpp +12 −12 Original line number Original line Diff line number Diff line Loading @@ -90,7 +90,7 @@ FILE_LINE_READER::FILE_LINE_READER( FILE* aFile, const wxString& aFileName, unsi } } unsigned FILE_LINE_READER::ReadLine() throw (IOError) unsigned FILE_LINE_READER::ReadLine() throw( IO_ERROR ) { { length = 0; length = 0; line[0] = 0; line[0] = 0; Loading @@ -101,7 +101,7 @@ unsigned FILE_LINE_READER::ReadLine() throw (IOError) length += strlen( line + length ); length += strlen( line + length ); if( length == maxLineLength ) if( length == maxLineLength ) throw IOError( _("Line length exceeded") ); throw IO_ERROR( _("Line length exceeded") ); // a normal line breaks here, once through while loop // a normal line breaks here, once through while loop if( length+1 < capacity || line[length-1] == '\n' ) if( length+1 < capacity || line[length-1] == '\n' ) Loading @@ -117,7 +117,7 @@ unsigned FILE_LINE_READER::ReadLine() throw (IOError) } } unsigned STRING_LINE_READER::ReadLine() throw (IOError) unsigned STRING_LINE_READER::ReadLine() throw( IO_ERROR ) { { size_t nlOffset = lines.find( '\n', ndx ); size_t nlOffset = lines.find( '\n', ndx ); Loading @@ -129,7 +129,7 @@ unsigned STRING_LINE_READER::ReadLine() throw (IOError) if( length ) if( length ) { { if( length >= maxLineLength ) if( length >= maxLineLength ) throw IOError( _("Line length exceeded") ); throw IO_ERROR( _("Line length exceeded") ); if( length+1 > capacity ) // +1 for terminating nul if( length+1 > capacity ) // +1 for terminating nul expandCapacity( length+1 ); expandCapacity( length+1 ); Loading Loading @@ -186,7 +186,7 @@ const char* OUTPUTFORMATTER::GetQuoteChar( const char* wrapee, const char* quote } } int OUTPUTFORMATTER::vprint( const char* fmt, va_list ap ) throw( IOError ) int OUTPUTFORMATTER::vprint( const char* fmt, va_list ap ) throw( IO_ERROR ) { { int ret = vsnprintf( &buffer[0], buffer.size(), fmt, ap ); int ret = vsnprintf( &buffer[0], buffer.size(), fmt, ap ); if( ret >= (int) buffer.size() ) if( ret >= (int) buffer.size() ) Loading @@ -202,7 +202,7 @@ int OUTPUTFORMATTER::vprint( const char* fmt, va_list ap ) throw( IOError ) } } int OUTPUTFORMATTER::sprint( const char* fmt, ... ) throw( IOError ) int OUTPUTFORMATTER::sprint( const char* fmt, ... ) throw( IO_ERROR ) { { va_list args; va_list args; Loading @@ -214,7 +214,7 @@ int OUTPUTFORMATTER::sprint( const char* fmt, ... ) throw( IOError ) } } int OUTPUTFORMATTER::Print( int nestLevel, const char* fmt, ... ) throw( IOError ) int OUTPUTFORMATTER::Print( int nestLevel, const char* fmt, ... ) throw( IO_ERROR ) { { #define NESTWIDTH 2 ///< how many spaces per nestLevel #define NESTWIDTH 2 ///< how many spaces per nestLevel Loading Loading @@ -243,7 +243,7 @@ int OUTPUTFORMATTER::Print( int nestLevel, const char* fmt, ... ) throw( IOError } } const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IOError ) const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IO_ERROR ) { { // derived class's notion of what a quote character is // derived class's notion of what a quote character is char quote = *GetQuoteChar( "(" ); char quote = *GetQuoteChar( "(" ); Loading @@ -268,7 +268,7 @@ const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IOError ) // a decision was made to make all S-expression strings be on a single // a decision was made to make all S-expression strings be on a single // line. You can embedd \n (human readable) in the text but not // line. You can embedd \n (human readable) in the text but not // '\n' which is 0x0a. // '\n' which is 0x0a. throw IOError( _( "S-expression string has newline" ) ); throw IO_ERROR( _( "S-expression string has newline" ) ); } } } } Loading @@ -285,7 +285,7 @@ const char* OUTPUTFORMATTER::Quoted( std::string* aWrapee ) throw( IOError ) //-----<STRING_FORMATTER>---------------------------------------------------- //-----<STRING_FORMATTER>---------------------------------------------------- void STRING_FORMATTER::write( const char* aOutBuf, int aCount ) throw( IOError ) void STRING_FORMATTER::write( const char* aOutBuf, int aCount ) throw( IO_ERROR ) { { mystring.append( aOutBuf, aCount ); mystring.append( aOutBuf, aCount ); } } Loading Loading @@ -314,7 +314,7 @@ const char* STREAM_OUTPUTFORMATTER::GetQuoteChar( const char* wrapee ) } } void STREAM_OUTPUTFORMATTER::write( const char* aOutBuf, int aCount ) throw( IOError ) void STREAM_OUTPUTFORMATTER::write( const char* aOutBuf, int aCount ) throw( IO_ERROR ) { { int lastWrite; int lastWrite; Loading @@ -326,7 +326,7 @@ void STREAM_OUTPUTFORMATTER::write( const char* aOutBuf, int aCount ) throw( IOE if( !os.IsOk() ) if( !os.IsOk() ) { { throw IOError( _( "OUTPUTSTREAM_OUTPUTFORMATTER write error" ) ); throw IO_ERROR( _( "OUTPUTSTREAM_OUTPUTFORMATTER write error" ) ); } } } } } } Loading
common/xnode.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -29,7 +29,7 @@ typedef wxXmlProperty XATTR; typedef wxXmlProperty XATTR; void XNODE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) void XNODE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IO_ERROR ) { { switch( GetType() ) switch( GetType() ) { { Loading @@ -48,7 +48,7 @@ void XNODE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) } } void XNODE::FormatContents( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) void XNODE::FormatContents( OUTPUTFORMATTER* out, int nestLevel ) throw( IO_ERROR ) { { std::string utf8; std::string utf8; Loading
eeschema/eeschema_config.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -613,7 +613,7 @@ void WinEDA_SchematicFrame::LoadSettings() { { m_TemplateFieldNames.Parse( &lexer ); m_TemplateFieldNames.Parse( &lexer ); } } catch( IOError e ) catch( IO_ERROR e ) { { // @todo show error msg // @todo show error msg D(printf("templatefieldnames parsing error: '%s'\n", D(printf("templatefieldnames parsing error: '%s'\n", Loading
eeschema/netform.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1055,7 +1055,7 @@ bool EXPORT_HELP::WriteGENERICNetList( WinEDA_SchematicFrame* frame, const wxStr STREAM_OUTPUTFORMATTER outputFormatter( os ); STREAM_OUTPUTFORMATTER outputFormatter( os ); xroot->Format( &outputFormatter, 0 ); xroot->Format( &outputFormatter, 0 ); } } catch( IOError ioe ) catch( IO_ERROR ioe ) { { delete xroot; delete xroot; goto L_error; goto L_error; Loading