InstanceException

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

InstanceException represents all kinds of exception in creating an instance or invoking a method by reflection.

Author:Hugo Y. K. Lam

Constructors

InstanceException

public InstanceException()

Creates a new instance of InstanceException.

InstanceException

public InstanceException(String message)

Creates a new instance of InstanceException.

Parameters:
  • message – the error message.

InstanceException

public InstanceException(Throwable cause)

Creates a new instance of InstanceException.

Parameters:
  • cause – the cause of this exception.

InstanceException

public InstanceException(String message, Throwable cause)

Creates a new instance of InstanceException.

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