• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Custom exception missing extends Exception in jaxb generated classes.  RSS feed

Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using a WSDL first approach with apache cxf 2.2. I have a custom defined exception defined in WSDL. When i'm generaetd the stubs, for the exception class, I donot see header called which extends from Exception in the generated stub.

<soap:fault name="SecurityException" use="literal"/>

In the generated classes, I see the generated class as

public class SecurityException {


I was exception to see, something like public class SecurityException extends Exception instead.
Is there any special parameter I'm missing to specify. Please advice.

Nothing? Or something? Like this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!