|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oopitis.weather.WeatherServiceException
com.oopitis.weather.UnsupportedFeatureException
public class UnsupportedFeatureException
Thrown when a service operation cannot recognize a feature.
| Constructor Summary | |
|---|---|
UnsupportedFeatureException(Feature f)
Constructs an exception indicating a feature is not supported. |
|
UnsupportedFeatureException(Feature f,
java.lang.String message)
Constructs an exception indicating a feature is not supported with a detailed message. |
|
UnsupportedFeatureException(Feature f,
java.lang.String message,
java.lang.Throwable cause)
Constructs an exception indicating a feature is not supported with a detailed message and cause. |
|
UnsupportedFeatureException(Feature f,
java.lang.Throwable cause)
Constructs an exception indicating a feature is not supported with a cause. |
|
| Method Summary | |
|---|---|
Feature |
getFeature()
Returns the unsupported feature this exception is thrown for. |
| 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 |
|---|
public UnsupportedFeatureException(Feature f)
f - the feature that is not supported; null if the
unsupported feature cannot be identifiedgetFeature()
public UnsupportedFeatureException(Feature f,
java.lang.String message)
f - the feature that is not supported; null if the
unsupported feature cannot be identifiedmessage - the detailed message
public UnsupportedFeatureException(Feature f,
java.lang.String message,
java.lang.Throwable cause)
f - the feature that is not supported; null if the
unsupported feature cannot be identifiedmessage - the detailed messagecause - the cause; null if the cause is unknown
public UnsupportedFeatureException(Feature f,
java.lang.Throwable cause)
f - the feature that is not supported; null if the
unsupported feature cannot be identifiedcause - the cause; null if the cause is unknown| Method Detail |
|---|
public final Feature getFeature()
null if unsupported feature cannot be identified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||