Skip to content

Commit

Permalink
Merge pull request #99 from okorz001/throwable
Browse files Browse the repository at this point in the history
Throwable cause instead of Exception
  • Loading branch information
andimarek committed Apr 23, 2016
2 parents 1c1be6e + 63c3723 commit 50a4225
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/graphql/ExceptionWhileDataFetching.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

public class ExceptionWhileDataFetching implements GraphQLError {

private final Exception exception;
private final Throwable exception;

public ExceptionWhileDataFetching(Exception exception) {
public ExceptionWhileDataFetching(Throwable exception) {
this.exception = exception;
}

public Exception getException() {
public Throwable getException() {
return exception;
}

Expand Down

0 comments on commit 50a4225

Please sign in to comment.