Class UrlConnectionException

  • All Implemented Interfaces:

    public class UrlConnectionException
    extends java.lang.RuntimeException
    Used when HTTP requests return a bad response, with troubleshooting info.

    This class displays lots of helpful troubleshooting information.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      UrlConnectionException​(java.lang.String message, connection)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UrlConnectionException

        public UrlConnectionException​(java.lang.String message,
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        getMessage in class java.lang.Throwable