Skip to content

Commit ff7ef93

Browse files
committed
Make a message easy to understand
1 parent 49da95d commit ff7ef93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doma-core/src/main/java/org/seasar/doma/message/Message.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ public enum Message implements MessageResource {
560560
"Failed to verify the SQL template \"{0}\" on line {2} at column {3}. "
561561
+ "The parameter type that corresponds to the expression \"{4}\" must be a subtype of either java.lang.Iterable or an array type. "
562562
+ "But the actual type is \"{5}\". "
563+
+ "If the actual type is a subtype of java.lang.Iterable, ensure that the type parameter or it is resolved with one of the supported types. "
564+
+ "If the actual type is an array type, ensure that the component type of it is one of the supported types. "
563565
+ "You may forget to access to its field or to invoke its method. SQL=[{1}]"),
564566
DOMA4163(
565567
"The user defined Config class must not be abstract. " + "The class \"{0}\" is abstract."),

0 commit comments

Comments
 (0)