ConnectionException

public class ConnectionException extends hk.hku.cecid.piazza.commons.GenericException

ConnectionException represents all kinds of exception related to connectivity.

Author:Hugo Y. K. Lam

Constructors

ConnectionException

public ConnectionException()

Creates a new instance of ConnectionException.

ConnectionException

public ConnectionException(String message)

Creates a new instance of ConnectionException.

Parameters:
  • message – the error message.

ConnectionException

public ConnectionException(Throwable cause)

Creates a new instance of ConnectionException.

Parameters:
  • cause – the cause of this exception.

ConnectionException

public ConnectionException(String message, Throwable cause)

Creates a new instance of ConnectionException.

Parameters:
  • message – the error message.
  • cause – the cause of this exception.