/* 212 */ if (null == element) {
/* 213 */ throw new NullPointerException("Attempted to add null object to buffer");
/* */ }
/* */
/* 216 */ if (this.full) {
/* 217 */ throw new BufferOverflowException("The buffer cannot hold more than " + this.maxElements + " objects.");
/* */ }
/* */
/* 220 */ this.elements[(this.end++)] = element;
/* */
/* 222 */ if (this.end >= this.maxElements) {