Package: org.codehaus.groovy.runtime.powerassert

## [Java] Class PowerAssertionError

- org.codehaus.groovy.runtime.powerassert.PowerAssertionError

-     public class PowerAssertionError
      extends java.langAssertionError

  Indicates that a power assertion has failed.

- - ### Constructor Summary

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

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public String` | `toString()` Returns the standard power assertion failure message shown to callers.

- - ### Constructor Detail

    - #### public PowerAssertionError(String msg)

      Creates an error containing the rendered power assertion output.

      Parameters:
        `msg` - the rendered assertion failure details

  - ### Method Detail

    - #### public String toString()

      Returns the standard power assertion failure message shown to callers.

      Returns:
        the formatted assertion failure text