corba/src/share/classes/com/sun/corba/se/spi/orb/ParserImplBase.java
changeset 7059 79caba0caf4f
parent 5555 b2b5ed3f0d0d
equal deleted inserted replaced
6605:f960f117f162 7059:79caba0caf4f
     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.