org.jboss.test.selenium.guard.request
Class RequestTypeGuardException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.test.selenium.guard.request.RequestTypeGuardException
- All Implemented Interfaces:
- Serializable
public class RequestTypeGuardException
- extends RuntimeException
This exception determines that when interacting with browser using Selenium, the wrong request type was executed.
- Version:
- $Revision$
- Author:
- Lukas Fryc
- See Also:
- Serialized Form
RequestTypeGuardException
public RequestTypeGuardException(RequestType requestExpected,
RequestType requestDone)
getRequestExpected
public RequestType getRequestExpected()
- Returns the RequestType which was expected to be done
- Returns:
- the requestExpected RequestType which was expected to be done
getRequestDone
public RequestType getRequestDone()
- Returns the RequestType which was actually done
- Returns:
- the requestDone RequestType which was actually done
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.