Skip to content

Commit 6bce8ff

Browse files
authored
Merge pull request #182 from codingapi/dev
fix #180
2 parents 62093da + 66c6e73 commit 6bce8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/example-interface/src/main/java/com/codingapi/example/api/domain/ErrorController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ public Response error2(){
2222

2323
@GetMapping("/error3")
2424
public Response error3(){
25-
throw new LocaleMessageException("error3",new Object[]{"my is arg"});
25+
throw LocaleMessageException.of("error3","my is arg");
2626
}
2727
}

0 commit comments

Comments
 (0)