code: public LiteDeviceDelegatingViewResolver createViewResolver(ViewResolver delegate) {
  		if (!(delegate instanceof Ordered)) {
  			throw new IllegalStateException("ViewResolver " + delegate
  					+ " should implement " + Ordered.class.getName());
  		}
  		int delegateOrder = ((Ordered) delegate).getOrder();
  		return createViewResolver(delegate, adjustOrder(delegateOrder));
  	}
docs: Create a {@link LiteDeviceDelegatingViewResolver} delegating to the specified
  {@link ViewResolver} and computing a sensible order for it. The specified
  {@link ViewResolver} should implement {@link Ordered}, consider using
  {@link #createViewResolver(ViewResolver, int)} if that's not the case.
  @param delegate the view resolver to delegate to
  @return a {@link LiteDeviceDelegatingViewResolver} handling the specified resolver