Hi
I am trying to convert JWD app to a DC to
deploy it on Portal 7.4. After converting the app
using an external library to store my jars, I am
left with an odd exception:
I have created an object of type IWDCachedWebResource
and from this object I am trying to get the URL.
Although I import the class
com.sap.tc.webdynpro.services.sal.url.WDURLException
the error I am getting is
Unhandled exception type WDURLException
If I try to surround my code with
try{
myCachedWebResource.getUrl();
}
catch(WDURLException e)
{
}
catch(Exception x)
{
}
I get an error:
No exception of type WDURLException can be thrown; an exception must be of type Throwable.
Does anyone know why catch(Exception e) is not enough?
Why WDURLException is not implementing Throwable?
How to overcome this problem?
regards
Yuval