public class NoSuchComponentException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
componentId
The requested component id that generated the exception.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentId()
Returns the id of the non-existent component.
|
private static final long serialVersionUID
private final java.lang.String componentId
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.