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

java.lang.Object
  extended byorg.apache.muse.ws.resource.basefaults.WsbfUtils

public class WsbfUtils
extends java.lang.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(java.lang.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(java.lang.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.