Revision 6217

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/FiltroExtension.java
66 66
import com.iver.utiles.exceptionHandling.ExceptionListener;
67 67

  
68 68

  
69
/** 
69
/**
70 70
 * Extensi?n que abre un di?logo para poder hacer un filtro de una capa o tabla.
71 71
 *
72 72
 * @author Vicente Caballero Navarro
......
103 103
				}
104 104
			}  catch (DriverException e) {
105 105
				NotificationManager.addError("Error filtrando", e);
106
			} 
106
			}
107 107

  
108 108
			doExecute();
109 109
		}
110 110
	}
111
	
111

  
112 112
	/**
113
	 * "execute" method action. 
113
	 * "execute" method action.
114 114
	 *
115 115
	 */
116 116
	protected void doExecute(){
......
184 184
		long[] sel = doSet(expression);
185 185

  
186 186
		if (sel == null) {
187
			throw new RuntimeException("Not a 'where' clause?");
187
			//throw new RuntimeException("Not a 'where' clause?");
188
			return;
188 189
		}
189 190

  
190 191
		FBitSet selection = new FBitSet();
......
232 233
		long[] sel = doSet(expression);
233 234

  
234 235
		if (sel == null) {
235
			throw new RuntimeException("Not a 'where' clause?");
236
			//throw new RuntimeException("Not a 'where' clause?");
237
			return;
236 238
		}
237 239

  
238 240
		FBitSet selection = new FBitSet();

Also available in: Unified diff