org.jboss.arquillian.ajocado.guard
Class RequestGuardException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.arquillian.ajocado.guard.RequestGuardException
- All Implemented Interfaces:
- Serializable
public class RequestGuardException
- 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
RequestGuardException
public RequestGuardException(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 © 2012 JBoss by Red Hat. All Rights Reserved.