01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.providers.urlscraper;
06:
07: import com.sun.portal.providers.ProviderException;
08:
09: class ContentFilterException extends ProviderException {
10:
11: /**
12: * Constructs a new exception with the specified message, indicating an
13: * error in the filter as happened.<br><br>
14: *
15: * @param msg The descriptive message.
16: */
17: public ContentFilterException(String msg) {
18: super (msg);
19: }
20:
21: /**
22: * Constructs a new exception with the specified message, and the original
23: * <code>exception</code> or <code>error</code>, indicating an error in the filter as happened.<br><br>
24: *
25: * @param msg The descriptive message.
26: * @param e The original <code>exception</code> or <code>error</code>.
27: */
28: public ContentFilterException(String msg, Throwable e) {
29: super(msg, e);
30: }
31:
32: }
|