Package com.google.gwt.useragent.client
Class UserAgentAsserter.UserAgentAssertionError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- com.google.gwt.useragent.client.UserAgentAsserter.UserAgentAssertionError
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- UserAgentAsserter
public static class UserAgentAsserter.UserAgentAssertionError extends java.lang.AssertionErrorAn 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.
-
-
-
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 permutationruntimeValue- the detected user.agent value after the module started
-
-