385
Comment:
|
385
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
* Here is an example on throwing an exception: {{{vector < float >EMData::calc_fourier_shell_correlation(EMData * with) { |
* Here is an example on throwing an exception: * {{{ vector< float > EMData::calc_fourier_shell_correlation(EMData * with) { |
Line 7: | Line 9: |
Line 11: | Line 12: |
} | } |
- Here is an example on throwing an exception:
vector< float > EMData::calc_fourier_shell_correlation(EMData * with) { if (!with) { throw NullPointerException("NULL input image"); } if (!EMUtil::is_same_size(this, with)) { LOGERR("images not same size"); throw ImageFormatException( "images not same size"); } //... }