Class ErrorCodec


  • public class ErrorCodec
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ErrorCodec createDefault()  
      org.openqa.selenium.WebDriverException decode​(java.util.Map<java.lang.String,​java.lang.Object> response)  
      java.util.Map<java.lang.String,​java.lang.Object> encode​(java.lang.Throwable throwable)  
      int getHttpStatusCode​(java.lang.Throwable throwable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createDefault

        public static ErrorCodec createDefault()
      • encode

        public java.util.Map<java.lang.String,​java.lang.Object> encode​(java.lang.Throwable throwable)
      • getHttpStatusCode

        public int getHttpStatusCode​(java.lang.Throwable throwable)
      • decode

        public org.openqa.selenium.WebDriverException decode​(java.util.Map<java.lang.String,​java.lang.Object> response)