summaryrefslogtreecommitdiff
path: root/src/com/google/wireless/gdata2/client/ForbiddenException.java
blob: 49a19cb6a026b2e01a77e8613956c39090aaa074 (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 2009 The Android Open Source Project.

package com.google.wireless.gdata2.client;

import com.google.wireless.gdata2.GDataException;

/**
 * Exception thrown when the server returns a 403 Forbidden.
 */
public class ForbiddenException extends GDataException {

  /**
   * Creates a new AuthenticationException.
   */
  public ForbiddenException() {
  }

  /**
   * Creates a new ForbiddenException with a supplied message.
   * @param message The message for the exception.
   */
  public ForbiddenException(String message) {
    super(message);
  }

  /**
   * Creates a new ForbiddenException 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 ForbiddenException(String message, Throwable cause) {
    super(message, cause);
  }
}