KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > archive > crawler > datamodel > LocalizedError


1 /* Copyright (C) 2003 Internet Archive.
2  *
3  * This file is part of the Heritrix web crawler (crawler.archive.org).
4  *
5  * Heritrix is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU Lesser Public License as published by
7  * the Free Software Foundation; either version 2.1 of the License, or
8  * any later version.
9  *
10  * Heritrix is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Lesser Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser Public License
16  * along with Heritrix; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  *
19  * LocalizedError.java
20  * Created on Oct 28, 2003
21  *
22  * $Header: /cvsroot/archive-crawler/ArchiveOpenCrawler/src/java/org/archive/crawler/datamodel/LocalizedError.java,v 1.4.14.1 2007/01/13 01:31:09 stack-sf Exp $
23  */

24 package org.archive.crawler.datamodel;
25
26 /**
27  * @author gojomo
28  *
29  */

30 public class LocalizedError {
31
32 // private String message;
33
public Throwable JavaDoc exception;
34 // private String processorName;
35

36     /**
37      * @param processorName
38      * @param ex
39      * @param message
40      */

41     public LocalizedError(String JavaDoc processorName, Throwable JavaDoc ex, String JavaDoc message) {
42 // this.processorName = processorName;
43
this.exception = ex;
44 // this.message = message;
45
}
46
47 }
48
Popular Tags