Split IO_ERROR out of richio.* and store Problem() and Where() separately

This commit is contained in:
Dick Hollenbeck
2016-09-14 17:36:45 -05:00
committed by Wayne Stambaugh
parent 9761c881e2
commit 9ad49dc2d1
47 changed files with 394 additions and 362 deletions
+2 -2
View File
@@ -548,7 +548,7 @@ void GITHUB_PLUGIN::remoteGetZip( const wxString& aRepoURL ) throw( IO_ERROR )
errorcmd,
zip_url.c_str(),
TO_UTF8( aRepoURL ),
TO_UTF8( ioe.errorText )
TO_UTF8( ioe.What() )
);
THROW_IO_ERROR( msg );
@@ -587,7 +587,7 @@ int main( int argc, char** argv )
}
catch( const IO_ERROR& ioe )
{
printf( "%s\n", TO_UTF8(ioe.errorText) );
printf( "%s\n", TO_UTF8(ioe.What()) );
}
UNINIT_LOGGER();