\r
private Object obj;\r
\r
- public Editor(Object o) throws IntrospectionException,\r
- IllegalArgumentException, IllegalAccessException,\r
- InvocationTargetException {\r
+ public Editor(Object o) {\r
obj = o;\r
\r
PropertyEditorManager.registerEditor(Amount.class,\r
\r
// Build the list of properties we want it to edit\r
//final PropertySheetPanel ps = new PropertySheetPanel();\r
- PropertyDescriptor props[] = Introspector.getBeanInfo(obj.getClass())\r
- .getPropertyDescriptors();\r
+ PropertyDescriptor props[];\r
+ try {\r
+ props = Introspector.getBeanInfo(obj.getClass())\r
+ .getPropertyDescriptors();\r
+ } catch (IntrospectionException e) {\r
+ throw new Error(e);\r
+ }\r
Vector<PropertyDescriptor> v = new Vector<PropertyDescriptor>();\r
for (int i = 0; i < props.length; i++) {\r
if (props[i].getName().equals("class"))\r