public class NotInRegistryException extends RuntimeException
Registry.get(Class)
,
Serialized FormConstructor and Description |
---|
NotInRegistryException(String message)
Constructor.
|
NotInRegistryException(com.google.common.reflect.TypeToken<?> type)
Constructs the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotInRegistryException(com.google.common.reflect.TypeToken<?> type)
type
- The requested type of the objectpublic NotInRegistryException(String message)
message
- The exception message