net.sf.twip.verify
Class VerificationFailedError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.AssertionError
              extended by net.sf.twip.verify.VerificationFailedError
All Implemented Interfaces:
Serializable

public class VerificationFailedError
extends AssertionError

This exception is thrown when one or more calls to verifyThat don't match. It collects the descriptions of all verification failures into one exception.

See Also:
Serialized Form

Constructor Summary
VerificationFailedError(List<org.hamcrest.Description> failures)
           
 
Method Summary
 List<org.hamcrest.Description> getFailures()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerificationFailedError

public VerificationFailedError(List<org.hamcrest.Description> failures)
Method Detail

getFailures

public List<org.hamcrest.Description> getFailures()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2011. All Rights Reserved.