public class NoSuchComponentException extends RuntimeException
| Constructor and Description |
|---|
NoSuchComponentException(String id)
Create a No Such Component Exception for a non-existent component.
|
NoSuchComponentException(String msg,
String id)
Create a No Such Component Exception for a non-existent component.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentId()
Returns the id of the non-existent component.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoSuchComponentException(String msg, String id)
msg - The associated message.id - The id of the non-existent component.public NoSuchComponentException(String id)
id - The id of the non-existent component.public String getComponentId()
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0