Hello Mati,
There is no need to declare runtime exceptions. You can catch them
without declaring them.
If you want your custom exception to be defined in the WSDL so that a
class for it is generated on the client side, you'll have to use a
checked exception (there is no mapping for runtime exc
I have my own defined RuntimeException (MyRuntimeException
that extends java.lang.RuntimeException). When I’m trying to run
JAVA2WSDL on it I get the following message:
- The class MyRuntimeException
extends non-bean class java.lang.RuntimeException. An xml schema anyType
will be used