DatabaseNotRegisteredException to unchecked exception type