Skip to content

Commit 66c6e73

Browse files
committed
fix #180
1 parent ffde0ee commit 66c6e73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)