AppIndexException

  • AppIndexException is a class of exceptions thrown by the App Index API.

  • Known direct subclasses include AppIndexInvalidArgumentException and AppIndexTooManyArgumentsException.

  • There are two public constructors for AppIndexException, one accepting a detail message and another accepting a detail message and a cause.

public classAppIndexException extendsException
Known Direct Subclasses
AppIndexInvalidArgumentExceptionThe exception that is thrown if an invalid argument is provided to one of the App Index API methods. 
AppIndexTooManyArgumentsExceptionThe exception that is thrown if the number of arguments passed to an App Index API method in a single call exceeds the allowed maximum ofIndexable.MAX_INDEXABLES_TO_BE_UPDATED_IN_ONE_CALL

Class of exceptions thrown by the App Index API.

Public Constructor Summary

AppIndexException(String detailMessage)
Creates a new instance ofAppIndexException using error message.
AppIndexException(String detailMessage,Throwable cause)
Creates a new instance ofAppIndexException using error message and cause.

Inherited Method Summary

From class java.lang.Throwable
synchronized final void
addSuppressed(Throwable arg0)
synchronizedThrowable
fillInStackTrace()
synchronizedThrowable
getCause()
String
getLocalizedMessage()
String
getMessage()
StackTraceElement[]
getStackTrace()
synchronized finalThrowable[]
getSuppressed()
synchronizedThrowable
initCause(Throwable arg0)
void
printStackTrace()
void
printStackTrace(PrintWriter arg0)
void
printStackTrace(PrintStream arg0)
void
setStackTrace(StackTraceElement[] arg0)
String
toString()
From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

publicAppIndexException(String detailMessage)

Creates a new instance ofAppIndexException using error message.

publicAppIndexException(String detailMessage,Throwable cause)

Creates a new instance ofAppIndexException using error message and cause.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.