Package org.codehaus.groovy.runtime.powerassert

# 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:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PowerAssertionError(String msg)`
  Creates an error containing the rendered power assertion output.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`
  Returns the standard power assertion failure message shown to callers.

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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