Changes
Page history
Updated Exceptions for Error Reporting (markdown)
authored
May 04, 2017
by
williamfgc
Show whitespace changes
Inline
Side-by-side
Exceptions-for-Error-Reporting.md
View page @
52950ac8
...
...
@@ -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,
throw std::invalid_argument( "ERROR: bzip2_blockSize100K parameters
must be between 0 and 9,
in call to AddTransform" );
```