KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > nutch > protocol > ProtocolNotFound


1 /* Copyright (c) 2004 The Nutch Organization. All rights reserved. */
2 /* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */
3
4 package net.nutch.protocol;
5
6 public class ProtocolNotFound extends ProtocolException {
7   private String JavaDoc url;
8
9   public ProtocolNotFound(String JavaDoc url) {
10     this(url, "protocol not found for url="+url);
11   }
12
13   public ProtocolNotFound(String JavaDoc url, String JavaDoc message) {
14     super(message);
15     this.url = url;
16   }
17
18   public String JavaDoc getUrl() { return url; }
19 }
20
Popular Tags