? ComponentException

????????:
Serializable

public class ComponentException extends RuntimeException
Unchecked exception which may be thrown by Service Component Runtime.
????:
  • ???????

    • ComponentException

      public ComponentException(String message, Throwable cause)
      Construct a new ComponentException with the specified message and cause.
      ??:
      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.
      ??:
      message - The message for the exception.
    • ComponentException

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

    • getCause

      public Throwable getCause()
      Returns the cause of this exception or null if no cause was set.
      ??:
      getCause ??? Throwable
      ??:
      The cause of this exception or null if no cause was set.
    • initCause

      public Throwable initCause(Throwable cause)
      Initializes the cause of this exception to the specified value.
      ??:
      initCause ??? Throwable
      ??:
      cause - The cause of this exception.
      ??:
      This exception.
      ??:
      IllegalArgumentException - If the specified cause is this exception.
      IllegalStateException - If the cause of this exception has already been set.