code: public SerializerResolver<?> getResolver(Class<?> type)
  	{
  		try
  		{
  			Optional<SerializerResolver<?>> optional = typeToResolverCache.get(Primitives.wrap(type));
  
  			return optional.isPresent() ? optional.get() : null;
  		}
  		catch (ExecutionException e)
  		{
  			Throwables.throwIfInstanceOf(e.getCause(), SerializationException.class);
  
  			throw new SerializationException("Unable to retrieve serializer for " + type + "; " + e.getCause().getMessage(), e.getCause());
  		}
  	}
docs: Get a resolver for the given type, returning {@code null} if
  the resolver can not be found.
  
  @param type
  the {@link Class} to find a resolver for
  @return
  the found resolver, or {@code null} if no resolver is found
  @throws SerializationException
  if the resolver could not be constructed from some reason