Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Generated Exception Classes

 
Abhishek Uppala
Greenhorn
Posts: 10
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a problem with the generated stubs for my web services. Some of the methods in the web service throw exception. When the stubs are generated, there is a class that is getting generated as ExceptionName_Exception.java which has a constructor invoking a two argument super constructor. When i compile the generated source, i get an exception as below:

cannot find symbol
[javac] symbol : constructor Exception(java.lang.String,com.redbus.Throwable)
[javac] location: class java.lang.Exception
[javac] super(message, cause);

I am not able to figure out why such an ExceptionName_Exception java file is getting generated and how do i fix this problem.

Thanks in advance for the help.


Abhishek Uppala
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!