mirror of https://github.com/apache/openjpa.git
OPENJPA-926 Localize exception message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778873 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b3ab297d62
commit
a4a9dc1787
|
@ -209,8 +209,10 @@ public class AccessCode {
|
|||
if (fCode == cCode)
|
||||
return cCode;
|
||||
else
|
||||
throw new IllegalStateException("Can not merge field " +
|
||||
toFieldString(fCode) + " to class " + toClassString(cCode));
|
||||
throw new IllegalStateException(
|
||||
(_loc.get("access-cannot-merge",
|
||||
toFieldString(fCode),
|
||||
toClassString(cCode)).toString()));
|
||||
}
|
||||
}
|
||||
return cCode;
|
||||
|
|
|
@ -25,6 +25,8 @@ access-inconsistent-inherit: "{1}" for class "{0}" is not consistent with \
|
|||
based access style or explicitly declare an access style.
|
||||
access-illegal-merge: Field "{0}" with "{1}" is not compatible with "{2}" \
|
||||
used by its declaring class.
|
||||
access-cannot-merge: Cannot merge field access "{0}" with class \
|
||||
access "{1}".
|
||||
meta-reflect: Using reflection for metadata generation.
|
||||
gen-meta: Generating default metadata for type "{0}".
|
||||
load-cls: Loading metadata for "{0}" under mode "{1}".
|
||||
|
|
Loading…
Reference in New Issue