org.opengts.util
Class HTMLTools.HttpIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.opengts.util.HTMLTools.HttpIOException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
HTMLTools

public static class HTMLTools.HttpIOException
extends java.io.IOException

HttpIOException class
Wrapper for IOException when due to an HttpURLConnection error.

See Also:
Serialized Form

Constructor Summary
HTMLTools.HttpIOException(java.io.IOException cause, java.net.HttpURLConnection httpConnect)
           
HTMLTools.HttpIOException(java.io.IOException cause, int respCode)
           
HTMLTools.HttpIOException(java.io.IOException cause, int respCode, java.lang.String respMsg)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String getMessage()
           
 int getResponseCode()
           
 java.lang.String getResponseMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, 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

HTMLTools.HttpIOException

public HTMLTools.HttpIOException(java.io.IOException cause,
                                 int respCode)

HTMLTools.HttpIOException

public HTMLTools.HttpIOException(java.io.IOException cause,
                                 int respCode,
                                 java.lang.String respMsg)

HTMLTools.HttpIOException

public HTMLTools.HttpIOException(java.io.IOException cause,
                                 java.net.HttpURLConnection httpConnect)
Method Detail

getResponseCode

public int getResponseCode()

getResponseMessage

public java.lang.String getResponseMessage()

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

getMessage

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