Package org.apache.commons.collections

Examples of org.apache.commons.collections.BufferOverflowException


/* 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) {
View Full Code Here

TOP

Related Classes of org.apache.commons.collections.BufferOverflowException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.