[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch ...

Max Rydahl Andersen mandersen at jboss.com
Wed Jul 12 06:03:27 EDT 2006


  User: mandersen
  Date: 06/07/12 06:03:27

  Modified:    hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch 
                        CodeGenerationLaunchDelegate.java
  Log:
  be a bit more informative about noclassdeffound errors when doing codegen
  
  Revision  Changes    Path
  1.15      +2 -0      jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CodeGenerationLaunchDelegate.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- CodeGenerationLaunchDelegate.java	7 Jul 2006 13:51:08 -0000	1.14
  +++ CodeGenerationLaunchDelegate.java	12 Jul 2006 10:03:27 -0000	1.15
  @@ -139,6 +139,8 @@
   			
   		} catch(Exception e) {
   			throw new CoreException(HibernateConsolePlugin.throwableToStatus(e, 666)); 
  +		} catch(NoClassDefFoundError e) {
  +			throw new CoreException(HibernateConsolePlugin.throwableToStatus(new HibernateConsoleRuntimeException("Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class",e), 666));
   		} finally {
   			monitor.done();
   		} 
  
  
  



More information about the jboss-cvs-commits mailing list