Index: src/java/org/apache/hcatalog/pig/HCatEximStorer.java =================================================================== --- src/java/org/apache/hcatalog/pig/HCatEximStorer.java (revision 1136915) +++ src/java/org/apache/hcatalog/pig/HCatEximStorer.java (working copy) @@ -38,7 +38,6 @@ import org.apache.hadoop.mapreduce.OutputFormat; import org.apache.pig.ResourceSchema; import org.apache.pig.impl.logicalLayer.FrontendException; -import org.apache.pig.impl.logicalLayer.parser.ParseException; import org.apache.pig.impl.logicalLayer.schema.Schema; import org.apache.pig.impl.util.ObjectSerializer; import org.apache.pig.impl.util.UDFContext; @@ -54,17 +53,16 @@ private final String outputLocation; - public HCatEximStorer(String outputLocation) throws FrontendException, ParseException { + public HCatEximStorer(String outputLocation) throws Exception { this(outputLocation, null, null); } - public HCatEximStorer(String outputLocation, String partitionSpec) throws FrontendException, - ParseException { + public HCatEximStorer(String outputLocation, String partitionSpec) throws Exception { this(outputLocation, partitionSpec, null); } public HCatEximStorer(String outputLocation, String partitionSpec, String schema) - throws FrontendException, ParseException { + throws Exception { super(partitionSpec, schema); this.outputLocation = outputLocation; LOG.debug("HCatEximStorer called"); Index: src/java/org/apache/hcatalog/pig/HCatBaseStorer.java =================================================================== --- src/java/org/apache/hcatalog/pig/HCatBaseStorer.java (revision 1136915) +++ src/java/org/apache/hcatalog/pig/HCatBaseStorer.java (working copy) @@ -45,7 +45,6 @@ import org.apache.pig.data.DataType; import org.apache.pig.data.Tuple; import org.apache.pig.impl.logicalLayer.FrontendException; -import org.apache.pig.impl.logicalLayer.parser.ParseException; import org.apache.pig.impl.logicalLayer.schema.Schema; import org.apache.pig.impl.logicalLayer.schema.Schema.FieldSchema; import org.apache.pig.impl.util.ObjectSerializer; @@ -70,7 +69,7 @@ protected static final String PIG_SCHEMA = "hcat.pig.store.schema"; protected String sign; - public HCatBaseStorer(String partSpecs, String schema) throws ParseException, FrontendException { + public HCatBaseStorer(String partSpecs, String schema) throws Exception { partitions = new HashMap(); if(partSpecs != null && !partSpecs.trim().isEmpty()){ Index: src/java/org/apache/hcatalog/pig/HCatStorer.java =================================================================== --- src/java/org/apache/hcatalog/pig/HCatStorer.java (revision 1136915) +++ src/java/org/apache/hcatalog/pig/HCatStorer.java (working copy) @@ -34,7 +34,6 @@ import org.apache.pig.PigException; import org.apache.pig.ResourceSchema; import org.apache.pig.impl.logicalLayer.FrontendException; -import org.apache.pig.impl.logicalLayer.parser.ParseException; import org.apache.pig.impl.logicalLayer.schema.Schema; import org.apache.pig.impl.util.ObjectSerializer; import org.apache.pig.impl.util.UDFContext; @@ -50,15 +49,15 @@ * */ - public HCatStorer(String partSpecs, String schema) throws ParseException, FrontendException { + public HCatStorer(String partSpecs, String schema) throws Exception { super(partSpecs, schema); } - public HCatStorer(String partSpecs) throws ParseException, FrontendException { + public HCatStorer(String partSpecs) throws Exception { this(partSpecs, null); } - public HCatStorer() throws FrontendException, ParseException{ + public HCatStorer() throws Exception{ this(null,null); }