Changes
Page history
Updated Exceptions for Error Reporting (markdown)
authored
May 04, 2017
by
williamfgc
Hide whitespace changes
Inline
Side-by-side
Exceptions-for-Error-Reporting.md
View page @
52950ac8
...
...
@@ -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" );
```