Class Failure


  • public class Failure
    extends Object
    A failure provides the details of a failure that happened during the execution of a test case.

    The failure can be:

    • an assertion failure: an assertion failed
    • an error failure: an expected error occured

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<Failure> __TYPE_ARG
    • Constructor Detail

      • Failure

        public Failure​(Failure delegate)
      • Failure

        public Failure​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public Failure getDelegate()
      • isError

        public boolean isError()
        Returns:
        true if the failure is an error failure otherwise it is an assertion failure
      • message

        public String message()
        Returns:
        the error message
      • stackTrace

        public String stackTrace()
        Returns:
        the stack trace