All pastes #748494 Raw Edit

Something

public text v1 · immutable
#748494 ·published 2007-10-24 21:16 UTC
rendered paste body
								if(poslc.getAll() != null){
									tmpMap = poslc.getAll(); //get the map from the listcontroller
									it = tmpMap.keySet().iterator(); //assumes the iterator
									while(it.hasNext()){
										tmpPos = (Position)it.next(); //!!!! exception occurs !!!!!
										if(tmpPos.getPosition().equals(tfNewPosition.getText())) //compares
											throw new myException("Already exists!"); //item already exists
									}