{
Resolver resolver = getResolver(resource.getType());
if(resolver==null)
resolveDefault(resource, context);
else
resolver.resolve(resource, context);
}
protected void resolveDefault(Resource resource, Context context) throws IOException
{
throw new IOException("resource: " + resource.getPath() + " not resolved");