Class PowerAssertionError

java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.codehaus.groovy.runtime.powerassert.PowerAssertionError
All Implemented Interfaces:
Serializable

public class PowerAssertionError extends AssertionError
Indicates that a power assertion has failed.
See Also:
  • Constructor Details

    • PowerAssertionError

      public PowerAssertionError(String msg)
      Creates an error containing the rendered power assertion output.
      Parameters:
      msg - the rendered assertion failure details
  • Method Details

    • toString

      public String toString()
      Returns the standard power assertion failure message shown to callers.
      Overrides:
      toString in class Throwable
      Returns:
      the formatted assertion failure text