org.apache.muse.ws.resource.basefaults
Class WsbfUtils
java.lang.Object
org.apache.muse.ws.resource.basefaults.WsbfUtils
public class WsbfUtils
- extends Object
WsbfUtils is a set of convenience methods related to WS-BaseFaults v1.2.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsbfUtils
public WsbfUtils()
convertToFault
public static BaseFault convertToFault(Throwable error)
- Parameters:
error
-
- Returns:
- The same Throwable recast as a BaseFault, or - if the
Throwable was not an instance of BaseFault - an instance of
ResourceUnavailableFault with the argument as the cause.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.