|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.osgi.service.blueprint.container.NoSuchComponentException
public class NoSuchComponentException
A Blueprint exception indicating that a component does not exist in a Blueprint Container. This exception is thrown when an attempt is made to create a component instance or lookup Component Metadata using a component id that does not exist in the Blueprint Container.
Constructor Summary | |
---|---|
NoSuchComponentException(java.lang.String id)
Create a No Such Component Exception for a non-existent component. |
|
NoSuchComponentException(java.lang.String msg,
java.lang.String id)
Create a No Such Component Exception for a non-existent component. |
Method Summary | |
---|---|
java.lang.String |
getComponentId()
Returns the id of the non-existent component. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoSuchComponentException(java.lang.String msg, java.lang.String id)
msg
- The associated message.id
- The id of the non-existent component.public NoSuchComponentException(java.lang.String id)
id
- The id of the non-existent component.Method Detail |
---|
public java.lang.String getComponentId()
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |