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

public class NoDataFoundException extends RuntimeException
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 Details

    • NoDataFoundException

      public NoDataFoundException()
      Creates NoDataFoundException with default message.
    • NoDataFoundException

      public NoDataFoundException(Throwable throwable)
      Creates NoDataFoundException with message from another throwable.
      Parameters:
      throwable - source throwable.