throw new IllegalArgumentException("[" + fileExtension+ "] is not a supported file extension");
}
}
public FileDataProxy getDataProxy() {
IDataProxy dataProxy;
dataProxy = super.getDataProxy();
if(dataProxy == null) {
setDataProxy( new FileDataProxy() );
dataProxy = getDataProxy();
}
if(!(dataProxy instanceof FileDataProxy)) throw new RuntimeException("DataProxy cannot be of type [" +
dataProxy.getClass().getName() + "] in FileDataSet");
return (FileDataProxy)dataProxy;
}