commit | 1f18bfa2d94f7132ce2dde74cc6b60618f6fe324 | [log] [tgz] |
---|---|---|
author | Vinayak Borkar <vinayakb@gmail.com> | Tue May 28 17:24:54 2013 -0700 |
committer | Vinayak Borkar <vinayakb@gmail.com> | Tue May 28 17:24:54 2013 -0700 |
tree | b14ca0840411a47eee582f92df3305c788374275 | |
parent | 64475bc55f74eac1d20fc335fa92c9145977b534 [diff] |
Added exceptions to method signatures
diff --git a/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FileScanOperatorDescriptor.java b/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FileScanOperatorDescriptor.java index d78593b..2139119 100644 --- a/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FileScanOperatorDescriptor.java +++ b/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/FileScanOperatorDescriptor.java
@@ -45,7 +45,7 @@ @Override public IOperatorNodePushable createPushRuntime(IHyracksTaskContext ctx, - IRecordDescriptorProvider recordDescProvider, int partition, int nPartitions) { + IRecordDescriptorProvider recordDescProvider, int partition, int nPartitions) throws HyracksDataException { final FileSplit split = fileSplitProvider.getFileSplits()[partition]; final ITupleParser tp = tupleParserFactory.createTupleParser(ctx); return new AbstractUnaryOutputSourceOperatorNodePushable() {
diff --git a/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/ITupleParserFactory.java b/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/ITupleParserFactory.java index eb051f5..4718572 100644 --- a/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/ITupleParserFactory.java +++ b/hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/file/ITupleParserFactory.java
@@ -17,7 +17,8 @@ import java.io.Serializable; import edu.uci.ics.hyracks.api.context.IHyracksTaskContext; +import edu.uci.ics.hyracks.api.exceptions.HyracksDataException; public interface ITupleParserFactory extends Serializable { - public ITupleParser createTupleParser(IHyracksTaskContext ctx); + public ITupleParser createTupleParser(IHyracksTaskContext ctx) throws HyracksDataException; } \ No newline at end of file