Minor ringbuffer changes.

Changed the get implementation, modified exception to take params