Class BeforeOrAfterFailed

  • All Implemented Interfaces:
    Serializable

    public class BeforeOrAfterFailed
    extends RuntimeException
    Thrown when methods, annotated with before or after annotations (story or scenario), fail.
    See Also:
    Serialized Form
    • Constructor Detail

      • BeforeOrAfterFailed

        public BeforeOrAfterFailed​(Method method,
                                   Throwable cause)
      • BeforeOrAfterFailed

        public BeforeOrAfterFailed​(Throwable cause)