Hi fml2,
Thanks for the reply. Just posting a pseudo code.
main class code:
public static final void invokeFilePullImpSrv(IData pipeline)
throws ServiceException {
try
{
doCalculation() // Call method in shared resource
}
catch
{
throw new ServiceException(e);
}
shared resource code:
static class sub class
{
public void doCalculation()
{
try
{
}
catch(Exception e)
{
throw new ServiceException(e); // getting error here
}
}
}
Please let me know how can I throw exception back to main class from shared resource code so that the main class in-turn throws the service exception.
thanks,
vinodkumar.
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods