com.oopitis.weather
Class URLDataSource.FetchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.oopitis.weather.WeatherServiceException
                  extended by com.oopitis.weather.URLDataSource.FetchException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
URLDataSource<T>

public static class URLDataSource.FetchException
extends WeatherServiceException

Thrown when an error occurs during fetching data from the a data source.

See Also:
Serialized Form

Constructor Summary
URLDataSource.FetchException(java.lang.String message)
          Constructs a FetchException with a detailed message.
URLDataSource.FetchException(java.lang.String message, java.lang.Throwable cause)
          Constructs a FetchException with a detailed message and a cause.
URLDataSource.FetchException(java.lang.Throwable cause)
          Constructs a FetchException with a cause.
 
Method Summary
 
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
 

Constructor Detail

URLDataSource.FetchException

public URLDataSource.FetchException(java.lang.Throwable cause)
Constructs a FetchException with a cause.

Parameters:
cause - the cause;null if the cause is unknown

URLDataSource.FetchException

public URLDataSource.FetchException(java.lang.String message)
Constructs a FetchException with a detailed message.

Parameters:
message - the detailed message

URLDataSource.FetchException

public URLDataSource.FetchException(java.lang.String message,
                                    java.lang.Throwable cause)
Constructs a FetchException with a detailed message and a cause.

Parameters:
message - the detailed message
cause - the cause;null if the cause is unknown