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:
Serializable
- Enclosing class:
UserAgentAsserter
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:
-
Constructor Summary
ConstructorDescriptionDefault constructor for serialization.UserAgentAssertionError
(String compileTimeValue, 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
-
Constructor Details
-
UserAgentAssertionError
public UserAgentAssertionError()Default constructor for serialization. -
UserAgentAssertionError
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
-