Source code: com/fm/rss/rssParseException.java
1 /****************************************************************************
2 * Copyright (c) 2003 Andrew Duka | aduka@users.sourceforge.net
3 * All right reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 ****************************************************************************/
11 package com.fm.rss;
12
13 import java.lang.Exception;
14
15 /**
16 * RSS entry parse exception.
17 * Entities must be thrown if any error occures during parsing of the channel,
18 * category or item data.
19 *
20 * @author Andrew Duka <Andrew.Duka@oktet.ru>
21 */
22 public class rssParseException extends Exception
23 {
24 /**
25 * Constructor
26 *
27 * @param msg detail message
28 */
29 public rssParseException(String msg)
30 {
31 super(msg);
32 }
33
34 /**
35 * Constructor
36 *
37 * @param msg detail message
38 * @param c exception cause
39 */
40 public rssParseException(String msg, Throwable c)
41 {
42 super(msg,c);
43 }
44
45 /**
46 * Constructor
47 *
48 * @param c exception cause
49 */
50 public rssParseException(Throwable c)
51 {
52 super(c);
53 }
54 }