A BufferOverflowException is thrown when it read from or write to a memory location that is outside of the intended boundary of the buffer.
BufferOverflowException