skip to main
|
skip to sidebar
Things to Remember
Showing posts with label
JAVA
.
Show all posts
Showing posts with label
JAVA
.
Show all posts
Monday, March 30, 2009
ConcurrentModificationException : JAVA
This exception is thrown when you try to add/remove elements from a list or set or any collection, while accessing it.
Example:
for(string data: list)
{
list.remove(data); //Will throw an
ConcurrentModificationException
}
These are simple things that can be avoided while programming and you can save some time.
Older Posts
Home
Subscribe to:
Posts (Atom)
Blog Archive
▼
2009
(28)
▼
December
(1)
England Wrecks SouthAfrica
►
April
(6)
►
March
(19)
►
February
(2)
►
2008
(20)
►
November
(5)
►
October
(14)
►
August
(1)
Contributors
Muru
Vanchi