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:
java.io.Serializable

public class VerificationFailedError
extends java.lang.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(java.util.List<org.hamcrest.Description> failures)
           
 
Method Summary
 java.util.List<org.hamcrest.Description> getFailures()
           
 java.lang.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(java.util.List<org.hamcrest.Description> failures)
Method Detail

getFailures

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

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2010. All Rights Reserved.