public class KeyNotFoundException extends RuntimeException
RuntimeException that is thrown if a specific key was not found in a TypedMapView.| Constructor and Description |
|---|
KeyNotFoundException(TypedMapView typedMapView,
String requestedKey)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestedKey()
Returns the requested key that wasn't found.
|
TypedMapView |
getTypedMapView()
Returns the queried
TypedMapView. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KeyNotFoundException(@Nonnull TypedMapView typedMapView, @Nonnull String requestedKey)
typedMapView - The TypedMapView that was queries.requestedKey - The key that wasn't found.@Nonnull public TypedMapView getTypedMapView()
TypedMapView.TypedMapView.Copyright © 2024. All rights reserved.