1 | try {↵ | | 1 | try {↵
|
2 | userType = (CompositeUserType) userTypeClass.newInstance();↵ | | 2 | userType = ( UserCollectionType ) userTypeClass.newInstance();↵
|
3 | }↵ | | 3 | }↵
|
4 | catch (InstantiationException ie) {↵ | | 4 | catch ( InstantiationException ie ) {↵
|
5 | throw new MappingException( ↵ | | 5 | throw new MappingException( ↵
|
6 | "Cannot instantiate custom type: " + ↵ | | 6 | "Cannot instantiate custom type: " + ↵
|
7 | userTypeClass.getName() ↵ | | 7 | userTypeClass.getName() ↵
|
8 | );↵ | | 8 | );↵
|
9 | }↵ | | 9 | }↵
|
10 | catch (IllegalAccessException iae) {↵ | | 10 | catch ( IllegalAccessException iae ) {↵
|
11 | throw new MappingException( ↵ | | 11 | throw new MappingException( ↵
|
12 | "IllegalAccessException trying to instantiate custom type: " + ↵ | | 12 | "IllegalAccessException trying to instantiate custom type: " + ↵
|
13 | userTypeClass.getName() ↵ | | 13 | userTypeClass.getName() );↵
|
14 | | | 14 |
|