| 96 | } |
| 97 | |
| 98 | void checkForExceptions() |
| 99 | { |
| 100 | USHORT unmaskedExceptions = decSt.decExtFlag & decContextGetStatus(this); |
| 101 | if (!unmaskedExceptions) |
| 102 | return; |
| 103 | |
| 104 | decContextZeroStatus(this); |
| 105 | |
| 106 | for (Dec2fb* e = dec2fb; e->decError; ++e) |
| 107 | { |
| 108 | // Arg::Gds(isc_arith_except) as first vector element ? |
| 109 | if (e->decError & unmaskedExceptions) |
| 110 | Arg::Gds(dblError ? e->fbDoubleError : e->fbError).raise(); |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | private: |
| 115 | DecimalStatus decSt; |
nothing calls this directly
no test coverage detected