org.apache.muse.ws.resource.basefaults
Class WsbfUtils

java.lang.Object
  extended by 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)

Constructor Summary
WsbfUtils()
           
 
Method Summary
static BaseFault convertToFault(Throwable error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsbfUtils

public WsbfUtils()
Method Detail

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.