jitu_at_dev.java.net wrote:
> * worked out. This method is here just to show the concept of
> * {_at_link Messages}.
> */
> - public static Message create(Throwable t) {
> - // TODO: implement this method later
> - throw new UnsupportedOperationException();
> + public static Message create(Throwable t, SOAPVersion soapVersion) {
> + return SOAPFaultBuilder.createSOAPFaultMessage(soapVersion, null, t);
> }
Can the 2nd parameter be null? It doesn't look like so to me.
In any case javadoc of SOAPFaultBuilder should use @Nullable and
@NotNull to indicate what can be null.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com