com.oopitis.weather
Class WeatherServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.oopitis.weather.WeatherServiceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnsupportedFeatureException, URLDataSource.FetchException

public class WeatherServiceException
extends java.lang.RuntimeException

A generic exception indicating an error has occurred during a weather service operation.

See Also:
Serialized Form

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

WeatherServiceException

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

Parameters:
message - the detailed message

WeatherServiceException

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

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

WeatherServiceException

public WeatherServiceException(java.lang.Throwable cause)
Constructs a WeatherServiceException with a cause.

Parameters:
cause - the cause