Klasse TopGamesException

java.lang.Object
java.lang.Throwable
java.lang.Exception
xyz.titanecho.topgamesapi.TopGamesException
Alle implementierten Schnittstellen:
Serializable

public class TopGamesException extends Exception
A custom exception for errors that occur while interacting with the Top-Games API. This can be a network error, a parsing error, or an error response from the API itself.
Siehe auch:
  • Konstruktordetails

    • TopGamesException

      public TopGamesException(String message)
      Constructs a new TopGamesException with the specified detail message.
      Parameter:
      message - the detail message.
    • TopGamesException

      public TopGamesException(String message, Throwable cause)
      Constructs a new TopGamesException with the specified detail message and cause.
      Parameter:
      message - the detail message.
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).