Class UserAgentAsserter.UserAgentAssertionError

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    UserAgentAsserter

    public static class UserAgentAsserter.UserAgentAssertionError
    extends java.lang.AssertionError
    An error object that indicates that the user agent detected at runtime did not match the user agent that the module expected to find.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UserAgentAssertionError()
      Default constructor for serialization.
      UserAgentAssertionError​(java.lang.String compileTimeValue, java.lang.String runtimeValue)
      Creates an error with the given expected and actual user.agent value.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UserAgentAssertionError

        public UserAgentAssertionError()
        Default constructor for serialization.
      • UserAgentAssertionError

        public UserAgentAssertionError​(java.lang.String compileTimeValue,
                                       java.lang.String runtimeValue)
        Creates an error with the given expected and actual user.agent value.
        Parameters:
        compileTimeValue - the compile time user.agent value, either in this permutation or soft permutation
        runtimeValue - the detected user.agent value after the module started