summaryrefslogtreecommitdiff
path: root/src/com/google/wireless/gdata/client/AuthenticationException.java
blob: 68866ced080f89c1808b46fb1e49594fdd8000bd (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
// Copyright 2007 The Android Open Source Project

package com.google.wireless.gdata.client;

import com.google.wireless.gdata.GDataException;

/**
 * Exception thrown when a user's credentials could not be authenticated.
 */
public class AuthenticationException extends GDataException {
    
    /**
     * Creates a new AuthenticationException.
     */
    public AuthenticationException() {
    }
    
    /**
     * Creates a new AuthenticationException with a supplied message.
     * @param message The message for the exception.
     */
    public AuthenticationException(String message) {
        super(message);
    }
    
    /**
     * Creates a new AuthenticationException with a supplied message and
     * underlying cause.
     * 
     * @param message The message for the exception.
     * @param cause Another throwable that was caught and wrapped in this
     * exception.
     */
    public AuthenticationException(String message, Throwable cause) {
        super(message, cause);
    }
}