| 71 | } |
| 72 | |
| 73 | void BaseException::AddMessage(const char* a_what) |
| 74 | { |
| 75 | if (a_what) |
| 76 | { |
| 77 | int l = strlen(a_what); int r = LastOne - SoFar; |
| 78 | if (l < r) { strcpy(what_error+SoFar, a_what); SoFar += l; } |
| 79 | else if (r > 0) |
| 80 | { |
| 81 | strncpy(what_error+SoFar, a_what, r); |
| 82 | what_error[LastOne] = 0; |
| 83 | SoFar = LastOne; |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | void BaseException::AddInt(int value) |
| 89 | { |
nothing calls this directly
no outgoing calls
no test coverage detected