Skip to content

Commit

Permalink
delete exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jortiz16 committed Jan 31, 2017
1 parent 6318ec1 commit af81755
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/edu/washington/escience/myria/io/AmazonS3Source.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;

import edu.washington.escience.myria.DbException;
import edu.washington.escience.myria.api.MyriaApiException;

/**
Expand Down Expand Up @@ -56,7 +55,7 @@ public AmazonS3Source(
@JsonProperty(value = "s3Uri", required = true) final String uri,
@JsonProperty(value = "startRange") final Long startRange,
@JsonProperty(value = "endRange") final Long endRange)
throws URIException, DbException {
throws URIException {
s3Uri = URI.create(Objects.requireNonNull(uri, "Parameter uri to UriSource may not be null"));
if (!s3Uri.getScheme().equals("s3")) {
throw new URIException("URI must contain an S3 scheme");
Expand Down

0 comments on commit af81755

Please sign in to comment.