KickJava   Java API By Example, From Geeks To Geeks.

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


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 import java.net.URL JavaDoc;
7
8 /** Thrown by {@link Protocol#getContent(String)}.*/
9 public class ProtocolException extends Exception JavaDoc {
10
11   public ProtocolException() {
12     super();
13   }
14
15   public ProtocolException(String JavaDoc message) {
16     super(message);
17   }
18
19   public ProtocolException(String JavaDoc message, Throwable JavaDoc cause) {
20     super(message, cause);
21   }
22
23   public ProtocolException(Throwable JavaDoc cause) {
24     super(cause);
25   }
26
27 }
28
Popular Tags