org.apache.commons.feedparser.network
Class NetworkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.commons.feedparser.network.NetworkException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MalformedResourceException

public class NetworkException
extends IOException

Version:
$Id: NetworkException.java 373622 2006-01-30 22:53:00Z mvdb $
Author:
Kevin A. Burton
See Also:
Serialized Form

Field Summary
 Exception e
           
 
Constructor Summary
NetworkException(Exception e, ResourceRequest request, URL _url, URLConnection _urlConnection)
          Create a new NetworkException instance.
NetworkException(String message)
          Create a new NetworkException instance.
NetworkException(String message, Exception e, ResourceRequest request, URL _url, URLConnection _urlConnection)
          Create a new NetworkException instance.
NetworkException(Throwable t)
           
 
Method Summary
 Exception getException()
           
 ResourceRequest getResourceRequest()
           
 int getResponseCode()
           
 URL getURL()
           
 URLConnection getURLConnection()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e

public Exception e
Constructor Detail

NetworkException

public NetworkException(String message)
Create a new NetworkException instance.


NetworkException

public NetworkException(Throwable t)

NetworkException

public NetworkException(String message,
                        Exception e,
                        ResourceRequest request,
                        URL _url,
                        URLConnection _urlConnection)
Create a new NetworkException instance.


NetworkException

public NetworkException(Exception e,
                        ResourceRequest request,
                        URL _url,
                        URLConnection _urlConnection)
Create a new NetworkException instance.

Method Detail

getResourceRequest

public ResourceRequest getResourceRequest()

getURL

public URL getURL()

getURLConnection

public URLConnection getURLConnection()

getException

public Exception getException()

getResponseCode

public int getResponseCode()


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.