Class TheErrorType

java.lang.Object
net.serenitybdd.core.exceptions.TheErrorType

public class TheErrorType
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    TheErrorType​(java.lang.String actualFailureCause)  
  • Method Summary

    Modifier and Type Method Description
    static TheErrorType causedBy​(java.lang.String actualFailureCause)  
    boolean isAKindOf​(java.lang.Class<? extends java.lang.Throwable> expected)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TheErrorType

      public TheErrorType​(java.lang.String actualFailureCause)
  • Method Details

    • causedBy

      public static TheErrorType causedBy​(java.lang.String actualFailureCause)
    • isAKindOf

      public boolean isAKindOf​(java.lang.Class<? extends java.lang.Throwable> expected)