net.thucydides.core.steps
Class ErrorConvertor

Package class diagram package ErrorConvertor
java.lang.Object
  extended by net.thucydides.core.steps.ErrorConvertor
All Implemented Interfaces:
Serializable

public class ErrorConvertor
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected ErrorConvertor(Throwable throwable)
           
 
Method Summary
 AssertionError convertToAssertion()
           
static ErrorConvertor forError(Throwable throwable)
           
 String messageFrom(Throwable error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorConvertor

protected ErrorConvertor(Throwable throwable)
Method Detail

forError

public static ErrorConvertor forError(Throwable throwable)

convertToAssertion

public AssertionError convertToAssertion()

messageFrom

public String messageFrom(Throwable error)


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.