? ComponentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.service.component.ComponentException
- ????????:
Serializable
Unchecked exception which may be thrown by Service Component Runtime.
- ????:
-
?????
????????ComponentException
(String message) Construct a new ComponentException with the specified message.ComponentException
(String message, Throwable cause) Construct a new ComponentException with the specified message and cause.ComponentException
(Throwable cause) Construct a new ComponentException with the specified cause. -
????
-
???????
-
ComponentException
Construct a new ComponentException with the specified message and cause.- ??:
message
- The message for the exception.cause
- The cause of the exception. May benull
.
-
ComponentException
Construct a new ComponentException with the specified message.- ??:
message
- The message for the exception.
-
ComponentException
Construct a new ComponentException with the specified cause.- ??:
cause
- The cause of the exception. May benull
.
-
-
??????
-
getCause
Returns the cause of this exception ornull
if no cause was set. -
initCause
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.
-