Code example for ConcurrentModificationException

0
		/** 
		 * Checks to see if the list has been modified by means other than this Iterator 
		 */ 
		private void checkConcurrentModification() { 
			if (this.expectedModCount != WeakLinkedList.this.modcount)
				throw new ConcurrentModificationException("The WeakLinkedList was modified outside of this Iterator");
		} 
	} 
}