Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Generated Exception Classes  RSS feed

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 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!