Author: vrubezhny
Date: 2007-09-11 13:11:46 -0400 (Tue, 11 Sep 2007)
New Revision: 3568
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.verification/src/org/jboss/tools/jst/web/verification/vrules/CheckClass.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-894 Clean out jst component
Code clean up is performed
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.verification/src/org/jboss/tools/jst/web/verification/vrules/CheckClass.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.verification/src/org/jboss/tools/jst/web/verification/vrules/CheckClass.java 2007-09-11
17:11:37 UTC (rev 3567)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.verification/src/org/jboss/tools/jst/web/verification/vrules/CheckClass.java 2007-09-11
17:11:46 UTC (rev 3568)
@@ -12,6 +12,7 @@
import org.eclipse.jdt.core.IType;
+import org.jboss.tools.common.log.LogHelper;
import org.jboss.tools.common.meta.constraint.impl.XAttributeConstraintQClassName;
import org.jboss.tools.common.model.*;
import org.jboss.tools.common.model.util.EclipseJavaUtil;
@@ -34,10 +35,14 @@
IType type = object.getModel().getValidType(value);
if(type != null) {
String mustImpl = null;
- try { mustImpl = checkImplements(object, type); } catch (Exception e) {}
+ try { mustImpl = checkImplements(object, type); } catch (Exception e) {
+ LogHelper.logError("org.jboss.tools.jst.web.verification", e);
+ }
if(mustImpl != null) return fireImplements(object, attr, attr, value, mustImpl);
String mustExtend = null;
- try { mustExtend = checkExtends(object, type); } catch (Exception e) {}
+ try { mustExtend = checkExtends(object, type); } catch (Exception e) {
+ LogHelper.logError("org.jboss.tools.jst.web.verification", e);
+ }
if(mustExtend != null) return fireExtends(object, attr, attr, value, mustExtend);
return null;
}