FileDocCategorySizeDatePackage
GDataException.javaAPI DocAndroid 1.5 API1603Wed May 06 22:41:16 BST 2009com.google.wireless.gdata

GDataException

public class GDataException extends Exception
The base exception for GData operations.

Fields Summary
private final Throwable
cause
Constructors Summary
public GDataException()
Creates a new empty GDataException.

        super();
        cause = null;
    
public GDataException(String message)
Creates a new GDataException with the supplied message.

param
message The message for this GDataException.

        super(message);
        cause = null;
    
public GDataException(String message, Throwable cause)
Creates a new GDataException with the supplied message and underlying cause.

param
message The message for this GDataException.
param
cause The underlying cause that was caught and wrapped by this GDataException.

        super(message);
        this.cause = cause;
    
public GDataException(Throwable cause)
Creates a new GDataException with the underlying cause.

param
cause The underlying cause that was caught and wrapped by this GDataException.

        this("", cause);
    
Methods Summary
public java.lang.ThrowablegetCause()

return
the cause of this GDataException or null if the cause is unknown.

        return cause;
    
public java.lang.StringtoString()

return
a string representation of this exception.

        return super.toString() + (cause != null ? " " + cause.toString() : "");