Class ComponentException

    • Constructor Detail

      • ComponentException

        public ComponentException​(String message,
                                  Throwable cause)
        Construct a new ComponentException with the specified message and cause.
        Parameters:
        message - The message for the exception.
        cause - The cause of the exception. May be null.
      • ComponentException

        public ComponentException​(String message)
        Construct a new ComponentException with the specified message.
        Parameters:
        message - The message for the exception.
      • ComponentException

        public ComponentException​(Throwable cause)
        Construct a new ComponentException with the specified cause.
        Parameters:
        cause - The cause of the exception. May be null.
    • Method Detail

      • getCause

        public Throwable getCause()
        Returns the cause of this exception or null if no cause was set.
        Overrides:
        getCause in class Throwable
        Returns:
        The cause of this exception or null if no cause was set.