Skip to content

Commit

Permalink
Implement error handling
Browse files Browse the repository at this point in the history
Co-authored-by: Veselin Nikolov <[email protected]>
  • Loading branch information
IoannisPanagiotas and vnickolov committed Jun 28, 2024
1 parent 787bb09 commit e3da09a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public static NodePropertyValues extractSeedingNodePropertyValues(Graph graph, S
if (nodePropertyValues.valueType() != ValueType.LONG) {
throw new IllegalArgumentException(
formatWithLocale(
" Provided seeding property `%s` does not comprise exclusively of long values",
"Provided seeding property `%s` does not comprise exclusively of long values",
seedingProperty
));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ void shouldThrowForNonLongValues(){

assertThatThrownBy(()-> CommunityCompanion.extractSeedingNodePropertyValues(graph,"foo"))
.hasMessageContaining(
"Provided seeding property `foo` does not comprise exclusively of long values");
"Provided seeding property `foo` does not comprise exclusively of long values");
}
}

0 comments on commit e3da09a

Please sign in to comment.