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