• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ServiceException(parameter)?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use the ServiceException in webMethods with this parameters:

public ServiceException(java.lang.Class bundleClass,
java.lang.String bundleKey,
java.lang.String sourceId,
java.lang.String parameter)

Constructs a ServiceException using the specified parameters as input.

Parameters:

bundleClass - A Class representing the resource bundle class. For example, AccessExceptionBundle.class.
bundleKey - A String specifying the identifier used to map to a particular message or message set that is contained in the resource bundle.
sourceId - A String specifying a sourceId for this AccessException. sourceId can be null.
parameter - A String specifying a substitution value.


Question is, how do I use this? Can anyone explain me what is the bundleClass, what does it contain, etc? thanks!
 
Goodbye moon men. Hello tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic