public class

AppsForYourDomainException

extends ServiceException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.gdata.util.ServiceException
         ↳ com.google.gdata.data.appsforyourdomain.AppsForYourDomainException

Class Overview

The AppsForYourDomainException indicates a failure in the use of the Google Apps for Your Domain API.

Summary

[Expand]
Inherited Constants
From class java.lang.Exception
From class java.lang.Throwable
Fields
protected AppsForYourDomainErrorCode errorCode
protected static DocumentBuilderFactory factory
protected String invalidInput
[Expand]
Inherited Fields
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
Public Constructors
AppsForYourDomainException(AppsForYourDomainErrorCode errorCode, String invalidInput, int httpReturnCode)
AppsForYourDomainException(AppsForYourDomainErrorCode errorCode, String invalidInput)
AppsForYourDomainException(AppsForYourDomainErrorCode errorCode)
AppsForYourDomainException()
Public Methods
AppsForYourDomainErrorCode getErrorCode()
String getInvalidInput()
static AppsForYourDomainException narrow(ServiceException se)
This is a helper method for Clients to use to obtain specific information regarding a ServiceException.
String toString()
[Expand]
Inherited Methods
From class com.google.gdata.util.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Fields

protected AppsForYourDomainErrorCode errorCode

protected static DocumentBuilderFactory factory

protected String invalidInput

Public Constructors

public AppsForYourDomainException (AppsForYourDomainErrorCode errorCode, String invalidInput, int httpReturnCode)

Parameters
errorCode
invalidInput
httpReturnCode

public AppsForYourDomainException (AppsForYourDomainErrorCode errorCode, String invalidInput)

Parameters
errorCode
invalidInput

public AppsForYourDomainException (AppsForYourDomainErrorCode errorCode)

Parameters
errorCode

public AppsForYourDomainException ()

Public Methods

public AppsForYourDomainErrorCode getErrorCode ()

public String getInvalidInput ()

public static AppsForYourDomainException narrow (ServiceException se)

This is a helper method for Clients to use to obtain specific information regarding a ServiceException. Method will return an AppsForYourDomainException with populated errorCode and invalidInput values, or it will return null if the ServiceException is not an AppsForYourDomainException.

Parameters
se

public String toString ()