• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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!
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic