1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package com.sun.syndication.io;
18
19 /***
20 * Exception thrown by FeedInput, FeedOutput, FeedParser and FeedGenerator instances if they
21 * can not parse or generate a feed.
22 * <p>
23 * @author Alejandro Abdelnur
24 *
25 */
26 public class FeedException extends Exception {
27
28 /***
29 * Creates a FeedException with a message.
30 * <p>
31 * @param msg exception message.
32 *
33 */
34 public FeedException(String msg) {
35 super(msg);
36 }
37
38 /***
39 * Creates a FeedException with a message and a root cause exception.
40 * <p>
41 * @param msg exception message.
42 * @param rootCause root cause exception.
43 *
44 */
45 public FeedException(String msg,Throwable rootCause) {
46 super(msg,rootCause);
47 }
48
49 }