class ClasspathResource implements Resource {

    @Override
    public URL url() {
        URL url = this.classLoader.getResource(this.path);

        if (url == null) {
            throw new RuntimeException(new FileNotFoundException(this.path));
        }

        return url;
    }

    public  ClasspathResource(String path, Class<?> clazz);
    public  ClasspathResource(String path, ClassLoader classLoader);

}