Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.26 KB

ComponentException.rst

File metadata and controls

55 lines (34 loc) · 1.26 KB
.. java:import:: hk.hku.cecid.piazza.commons GenericException

ComponentException

.. java:package:: hk.hku.cecid.piazza.commons.module
   :noindex:

.. java:type:: public class ComponentException extends GenericException

   ComponentException represents an exception related to a component.

   :author: Hugo Y. K. Lam

Constructors

ComponentException

.. java:constructor:: public ComponentException()
   :outertype: ComponentException

   Creates a new instance of ComponentException.

ComponentException

.. java:constructor:: public ComponentException(String message)
   :outertype: ComponentException

   Creates a new instance of ComponentException.

   :param message: the error message.

ComponentException

.. java:constructor:: public ComponentException(Throwable cause)
   :outertype: ComponentException

   Creates a new instance of ComponentException.

   :param cause: the cause of this exception.

ComponentException

.. java:constructor:: public ComponentException(String message, Throwable cause)
   :outertype: ComponentException

   Creates a new instance of ComponentException.

   :param message: the error message.
   :param cause: the cause of this exception.