summaryrefslogtreecommitdiff
path: root/src/com/google/wireless/gdata/parser/ParseException.java
blob: b9dc5e2392dda271d8b10b18ab6d9c795c5c9ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2007 The Android Open Source Project

package com.google.wireless.gdata.parser;

import com.google.wireless.gdata.GDataException;

/**
 * Exception thrown if a GData feed cannot be parsed.
 */
public class ParseException extends GDataException {
    
    /**
     * Creates a new empty ParseException.
     */
    public ParseException() {
        super();
    }
    
    /**
     * Creates a new ParseException with the supplied message.
     * @param message The message for this ParseException.
     */
    public ParseException(String message) {
        super(message);
    }
    
    /**
     * Creates a new ParseException with the supplied message and underlying
     * cause.
     * 
     * @param message The message for this ParseException.
     * @param cause The underlying cause that was caught and wrapped by this
     * ParseException.
     */
    public ParseException(String message, Throwable cause) {
        super(message, cause);
    }
}