Class ConnectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amilesend.client.connection.ConnectionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RequestException, ResponseException

public class ConnectionException extends RuntimeException
Defines the exception thrown from Connection.
See Also:
  • Constructor Details

    • ConnectionException

      public ConnectionException(String msg)
      Creates a new TvMazeConnectionException.
      Parameters:
      msg - the exception message
    • ConnectionException

      public ConnectionException(String msg, Throwable cause)
      Creates a new TvMazeConnectionException.
      Parameters:
      msg - the exception message
      cause - the cause of the exception