weather_service.weatherprovider
Class WeatherError
java.lang.Object
java.lang.Throwable
java.lang.Exception
weather_service.weatherprovider.WeatherError
- All Implemented Interfaces:
- java.io.Serializable
public class WeatherError
- extends java.lang.Exception
WeatherError is an exception class that reports the following:
- parsing problems with the xml data returned from weather.com
- error conditions reported by weather.com
- Since:
- Jan 1, 2007, 5:48:16 PM
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WeatherError
public WeatherError(WeatherError.ErrorTypes type,
java.lang.String msg)
WeatherError
public WeatherError(WeatherError.ErrorTypes type,
java.lang.Throwable t)
WeatherError
public WeatherError(WeatherError.ErrorTypes type,
java.lang.Throwable t,
java.lang.String msg)
WeatherError
public WeatherError(java.lang.String errorType,
java.lang.String errorValue)
getType
public WeatherError.ErrorTypes getType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable