Class NoDataFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.prominence.openweathermap.api.exception.NoDataFoundException
- All Implemented Interfaces:
Serializable
An exception that could be thrown in several cases:
- There is no data found for your query(wrong coordinates somewhere in the sea, some distant place, etc.);
- Request is malformed. An occasion to report an issue;
- Any other unpredictable problems.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreatesNoDataFoundExceptionwith default message.NoDataFoundException(Throwable throwable) CreatesNoDataFoundExceptionwith message from another throwable. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoDataFoundException
public NoDataFoundException()CreatesNoDataFoundExceptionwith default message. -
NoDataFoundException
CreatesNoDataFoundExceptionwith message from another throwable.- Parameters:
throwable- source throwable.
-