Skip to content

Commit

Permalink
Fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
gnawf committed May 14, 2024
1 parent e835873 commit 6c39771
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ abstract class NadelGraphQLErrorException(
message: String,
private val path: List<Any>? = null,
private val errorClassification: ErrorClassification? = null,
) : GraphQLErrorExceptionKotlinCompat(message) {
) : NadelGraphQLErrorExceptionKotlinCompat(message) {
override fun getPath(): List<Any>? {
return path
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
/**
* Yes this is in Java, because of a compiler bug with conflicting `getMessage` declarations.
*/
public abstract class GraphQLErrorExceptionKotlinCompat extends RuntimeException implements GraphQLError {
public GraphQLErrorExceptionKotlinCompat(@NotNull String message) {
public abstract class NadelGraphQLErrorExceptionKotlinCompat extends RuntimeException implements GraphQLError {
public NadelGraphQLErrorExceptionKotlinCompat(@NotNull String message) {
super(message);
}

public GraphQLErrorExceptionKotlinCompat(@NotNull String message, @Nullable Throwable cause) {
public NadelGraphQLErrorExceptionKotlinCompat(@NotNull String message, @Nullable Throwable cause) {
super(message, cause);
}

Expand Down

0 comments on commit 6c39771

Please sign in to comment.