1 /* |
1 /* |
2 * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
108 Array.set( result, ctr, obj ) ; |
108 Array.set( result, ctr, obj ) ; |
109 } catch (Throwable thr) { |
109 } catch (Throwable thr) { |
110 throw wrapper.couldNotSetArray( thr, |
110 throw wrapper.couldNotSetArray( thr, |
111 getPropertyName(), new Integer(ctr), |
111 getPropertyName(), new Integer(ctr), |
112 componentType, new Integer(size), |
112 componentType, new Integer(size), |
113 ObjectUtility.compactObjectToString( obj )) ; |
113 obj.toString() ) ; |
114 } |
114 } |
115 ctr++ ; |
115 ctr++ ; |
116 } |
116 } |
117 |
117 |
118 return result ; |
118 return result ; |