public class NotFoundException extends RuntimeException
Constructor and Description |
---|
NotFoundException()
Thrown when there is no key context (eg, query.first() on an empty result set)
|
NotFoundException(Key<?> key)
Thrown when we at least know what we are looking for!
|
Modifier and Type | Method and Description |
---|---|
Key<?> |
getKey() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotFoundException()
public NotFoundException(Key<?> key)
public Key<?> getKey()
Copyright © 2014. All rights reserved.