org.openqa.selenium.remote.server.renderer
Class JsonErrorExceptionResult
java.lang.Object
org.openqa.selenium.remote.server.renderer.JsonResult
org.openqa.selenium.remote.server.renderer.ErrorJsonResult
org.openqa.selenium.remote.server.renderer.JsonErrorExceptionResult
- All Implemented Interfaces:
- Renderer
public class JsonErrorExceptionResult
- extends ErrorJsonResult
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonErrorExceptionResult
public JsonErrorExceptionResult(String exceptionName,
String responseOn)
render
public void render(HttpRequest request,
HttpResponse response,
RestishHandler handler)
throws Exception
- Specified by:
render
in interface Renderer
- Overrides:
render
in class ErrorJsonResult
- Throws:
Exception
prepareResponseObject
public org.openqa.selenium.remote.Response prepareResponseObject(HttpRequest request)
throws org.json.JSONException
- Throws:
org.json.JSONException
Copyright © 2013. All rights reserved.