|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.service.component.ComponentException
public class ComponentException
Unchecked exception which may be thrown by the Service Component Runtime.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the cause of this exception or null if no cause was
set. |
Throwable |
initCause(Throwable cause)
Initializes the cause of this exception to the specified value. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComponentException(String message, Throwable cause)
message
- The message for the exception.cause
- The cause of the exception. May be null
.public ComponentException(String message)
message
- The message for the exception.public ComponentException(Throwable cause)
cause
- The cause of the exception. May be null
.Method Detail |
---|
public Throwable getCause()
null
if no cause was
set.
null
if no cause was
set.public Throwable initCause(Throwable cause)
cause
- The cause of this exception.
IllegalArgumentException
- If the specified cause is this
exception.
IllegalStateException
- If the cause of this exception has already
been set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |