use eoExceptions everywhere
This commit is contained in:
parent
75ac37b02a
commit
eba2e14950
127 changed files with 524 additions and 418 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#include <stdexcept>
|
||||
|
||||
#include "eoGnuplot.h"
|
||||
#include "../eoExceptions.h"
|
||||
|
||||
|
||||
unsigned eoGnuplot::numWindow=0;
|
||||
|
|
@ -82,7 +83,7 @@ void eoGnuplot::initGnuPlot(std::string _title, std::string _extra)
|
|||
args[5] = 0;
|
||||
gpCom = PipeComOpenArgv( GNUPLOT_PROGRAM, args );
|
||||
if(! gpCom )
|
||||
throw std::runtime_error("Cannot spawn gnuplot\n");
|
||||
throw eoSystemError(GNUPLOT_PROGRAM);
|
||||
else {
|
||||
PipeComSend( gpCom, "set grid\n" );
|
||||
PipeComSend( gpCom, _extra.c_str() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue