(int numBytes)
| 227 | |
| 228 | |
| 229 | private boolean checkOverflow(int numBytes) { |
| 230 | if (pos + numBytes + 3 > buf.length) { |
| 231 | log.error(sm.getString("ajpmessage.overflow", "" + numBytes, "" + pos), |
| 232 | new ArrayIndexOutOfBoundsException()); |
| 233 | if (log.isDebugEnabled()) { |
| 234 | dump("Overflow/coBytes"); |
| 235 | } |
| 236 | return true; |
| 237 | } |
| 238 | return false; |
| 239 | } |
| 240 | |
| 241 | |
| 242 | /** |
no test coverage detected