Skip to content

Commit

Permalink
The notBlank validation of the type should tell which parameter is no…
Browse files Browse the repository at this point in the history
…t valid.
  • Loading branch information
Robert Winkler committed Jan 3, 2017
1 parent 039607a commit 81edab3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public BasicType(String type, String name) {

public BasicType(String type, String name, String format) {
super(name);
Validate.notBlank(type);
Validate.notBlank(type, "Type of parameter '%s' must not be blank", name);
this.type = type;
this.format = format;
}
Expand Down

0 comments on commit 81edab3

Please sign in to comment.