_XValidatableFormComponent.java (ef39d40d) | _XValidatableFormComponent.java (bb6af6bc) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 128 unchanged lines hidden (view full) --- 137 } 138 139 try 140 { 141 mProps.setPropertyValues(testPropsNames, gValues); 142 } 143 catch (com.sun.star.beans.PropertyVetoException e) 144 { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 128 unchanged lines hidden (view full) --- 137 } 138 139 try 140 { 141 mProps.setPropertyValues(testPropsNames, gValues); 142 } 143 catch (com.sun.star.beans.PropertyVetoException e) 144 { |
145 log.println("Exception occured while setting properties"); | 145 log.println("Exception occurred while setting properties"); |
146 e.printStackTrace(log); 147 } 148 catch (com.sun.star.lang.IllegalArgumentException e) 149 { | 146 e.printStackTrace(log); 147 } 148 catch (com.sun.star.lang.IllegalArgumentException e) 149 { |
150 log.println("Exception occured while setting properties"); | 150 log.println("Exception occurred while setting properties"); |
151 e.printStackTrace(log); 152 } 153 catch (com.sun.star.lang.WrappedTargetException e) 154 { | 151 e.printStackTrace(log); 152 } 153 catch (com.sun.star.lang.WrappedTargetException e) 154 { |
155 log.println("Exception occured while setting properties"); | 155 log.println("Exception occurred while setting properties"); |
156 e.printStackTrace(log); 157 } 158 // end of try-catch 159 } 160 161 //Get the properties being tested 162 private void getPropsToTest(Property[] properties) 163 { --- 80 unchanged lines hidden --- | 156 e.printStackTrace(log); 157 } 158 // end of try-catch 159 } 160 161 //Get the properties being tested 162 private void getPropsToTest(Property[] properties) 163 { --- 80 unchanged lines hidden --- |