HHH-13303 Fix error message
This commit is contained in:
parent
d2af672ca8
commit
4d301b1726
|
@ -1094,7 +1094,7 @@ public class JoinedSubclassEntityPersister extends AbstractEntityPersister {
|
||||||
|
|
||||||
if ( index >= subclassNamesBySubclassTable.length ) {
|
if ( index >= subclassNamesBySubclassTable.length ) {
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
"Given subclass table number is outside expected range [" + subclassNamesBySubclassTable.length
|
"Given subclass table number is outside expected range [" + (subclassNamesBySubclassTable.length -1)
|
||||||
+ "] as defined by subclassTableNameClosure/subclassClosure"
|
+ "] as defined by subclassTableNameClosure/subclassClosure"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue