'Return a L{Failure} from raising the given exception.
@param exceptionInstance: The exception to raise.
@return: L{Failure}'

def getFailure(self, exceptionInstance):

    try:
        raise exceptionInstance
    except:
        return Failure()
