throw new IllegalArgumentException("Protocol not supported by the connector. Only FILE and CONTEXT are supported.");
throw new IllegalArgumentException("Protocol \"" + scheme + "\" not supported by the connector. Only FILE and CONTEXT are supported.");
   public void handle(Call call)   {      String scheme = call.getResourceRef().getScheme();      // Ensure that all ".." and "." are normalized into the path   	// to preven unauthorized access to user directories.   	call.getResourceRef().normalize();            if(scheme.equalsIgnoreCase("file"))      {      	handleFile(call, call.getResourceRef().getPath());      }      else if(scheme.equalsIgnoreCase("context"))      {			ContextReference cr = new ContextReference(call.getResourceRef());			      	if(cr.getAuthorityType() == AuthorityType.CLASS)      	{      		handleClassLoader(call, getClass().getClassLoader());      	}      	else if(cr.getAuthorityType() == AuthorityType.SYSTEM)      	{      		handleClassLoader(call, ClassLoader.getSystemClassLoader());      	}      	else if(cr.getAuthorityType() == AuthorityType.THREAD)      	{      		handleClassLoader(call, Thread.currentThread().getContextClassLoader());      	}      	else if(cr.getAuthorityType() == AuthorityType.WEB_APPLICATION)      	{      		handleWebApp(call);	      }      }      else      {         throw new IllegalArgumentException("Protocol not supported by the connector. Only FILE and CONTEXT are supported.");      }	}