new NoSuchElementException( [message])
Exception, which will be thrown, if no element matches.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
message |
String |
<optional> |
"Could not find a matching element." | The message, to be displayed. |
Extends
- Error