org.spockframework.runtime
Class SpockAssertionError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.AssertionError
              extended by org.spockframework.runtime.SpockAssertionError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConditionNotSatisfiedError, InteractionNotSatisfiedError, SpockTimeoutError, WrongExceptionThrownError

public class SpockAssertionError
extends AssertionError

Author:
Peter Niederwieser
See Also:
Serialized Form

Constructor Summary
SpockAssertionError()
           
SpockAssertionError(String msg)
           
SpockAssertionError(String msg, Throwable cause)
           
SpockAssertionError(Throwable cause)
           
 
Method Summary
 String getMessage()
           
 SpockAssertionError withArgs(Object... args)
           
 
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

SpockAssertionError

public SpockAssertionError()

SpockAssertionError

public SpockAssertionError(String msg)

SpockAssertionError

public SpockAssertionError(Throwable cause)

SpockAssertionError

public SpockAssertionError(String msg,
                           Throwable cause)
Method Detail

withArgs

public SpockAssertionError withArgs(Object... args)

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2010. All Rights Reserved.