equal
deleted
inserted
replaced
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 |
123 ) ; |
123 ) ; |
124 } catch (PrivilegedActionException exc) { |
124 } catch (PrivilegedActionException exc) { |
125 // Since exc wraps the actual exception, use exc.getCause() |
125 // Since exc wraps the actual exception, use exc.getCause() |
126 // instead of exc. |
126 // instead of exc. |
127 throw wrapper.errorSettingField( exc.getCause(), name, |
127 throw wrapper.errorSettingField( exc.getCause(), name, |
128 ObjectUtility.compactObjectToString(value) ) ; |
128 value.toString() ) ; |
129 } |
129 } |
130 } |
130 } |
131 |
131 |
132 // Make sure that any extra initialization takes place after all the |
132 // Make sure that any extra initialization takes place after all the |
133 // fields are set from the map. |
133 // fields are set from the map. |