use special ResourceException to identify webjars exceptions