Package 

Class HttpException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class HttpException
    extends IOException
                        

    Custom http exception, which wraps all errrors during http communication (both IOExceptions and unexpected ones) We use it to pass http request metrics in case of error and distinguish from regular IOExceptions.

    In order to do that - check cause of this exception

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Metrics metrics
    • Method Summary

      Modifier and Type Method Description
      Metrics getMetrics()
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait