com.google.gdata.data.appsforyourdomain
Class AppsForYourDomainException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gdata.util.ServiceException
com.google.gdata.data.appsforyourdomain.AppsForYourDomainException
- All Implemented Interfaces:
- java.io.Serializable
public class AppsForYourDomainException
- extends ServiceException
The AppsForYourDomainException indicates a failure in the use of the
Google Apps for Your Domain API.
- See Also:
- Serialized Form
Methods inherited from class com.google.gdata.util.ServiceException |
addSibling, getCodeName, getDebugInfo, getDomainName, getExtendedHelp, getHttpErrorCodeOverride, getHttpHeaders, getInternalReason, getLocation, getLocationType, getMessage, getResponseBody, getResponseContentType, getSendReport, getSiblings, matches, matchesAny, setCode, setDebugInfo, setDomain, setExtendedHelp, setHeaderLocation, setHttpErrorCodeOverride, setInternalReason, setLocation, setResponse, setResponseBody, setResponseContentType, setSendReport, setXpathLocation, toXmlErrorMessage |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
errorCode
protected AppsForYourDomainErrorCode errorCode
invalidInput
protected java.lang.String invalidInput
factory
protected static javax.xml.parsers.DocumentBuilderFactory factory
AppsForYourDomainException
public AppsForYourDomainException(AppsForYourDomainErrorCode errorCode,
java.lang.String invalidInput,
int httpReturnCode)
AppsForYourDomainException
public AppsForYourDomainException(AppsForYourDomainErrorCode errorCode,
java.lang.String invalidInput)
AppsForYourDomainException
public AppsForYourDomainException(AppsForYourDomainErrorCode errorCode)
AppsForYourDomainException
public AppsForYourDomainException()
getErrorCode
public AppsForYourDomainErrorCode getErrorCode()
getInvalidInput
public java.lang.String getInvalidInput()
toString
public java.lang.String toString()
- Overrides:
toString
in class ServiceException
narrow
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.