1 // Copyright 2009 The Android Open Source Project. 2 3 package com.google.wireless.gdata2.client; 4 5 import com.google.wireless.gdata2.GDataException; 6 7 /** 8 * Exception thrown when a specified resource is gone 9 */ 10 public class ResourceGoneException extends GDataException { 11 12 /** 13 * Creates a new ResourceGoneException. 14 */ ResourceGoneException()15 public ResourceGoneException() { 16 } 17 18 /** 19 * Creates a new ResourceGoneException with a supplied message. 20 * @param message The message for the exception. 21 */ ResourceGoneException(String message)22 public ResourceGoneException(String message) { 23 super(message); 24 } 25 26 /** 27 * Creates a new ResourceGoneException with a supplied message and 28 * underlying cause. 29 * 30 * @param message The message for the exception. 31 * @param cause Another throwable that was caught and wrapped in this 32 * exception. 33 */ ResourceGoneException(String message, Throwable cause)34 public ResourceGoneException(String message, Throwable cause) { 35 super(message, cause); 36 } 37 } 38