Updated Exceptions for Error Reporting (markdown) authored by williamfgc's avatar williamfgc
......@@ -10,7 +10,7 @@
* _Do_
```cpp
throw std::invalid_argument ( "ERROR: variable + variableName + "was not
previously declared, in call to Write;" );
previously declared, in call to Write;" );
```
......@@ -18,11 +18,12 @@
* _Don't_
```cpp
throw std::invalid_argument( "ERROR: invalid input for CompressionParameter" );
throw std::invalid_argument( "ERROR: invalid input for bzip2_blockSize100K" );
```
* _Do_
```cpp
throw std::invalid_argument( "ERROR: bzip2 bzip2_blockSize100K parameters must be between 0 and 9,
in call to AddTransform" );
throw std::invalid_argument( "ERROR: bzip2_blockSize100K parameters
must be between 0 and 9,
in call to AddTransform" );
```