VMware GemFire Java API Reference
Package org.apache.geode.cache.query
Class MultiIndexCreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.geode.cache.query.MultiIndexCreationException
-
- All Implemented Interfaces:
Serializable
public class MultiIndexCreationException extends Exception
Consists a map of index names and Exceptions thrown during index creation usingQueryService.createDefinedIndexes(). AnIndexcould throw one of the following exceptions:- Since:
- GemFire 8.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiIndexCreationException(HashMap<String,Exception> exceptionMap)Creates anMultiIndexCreationException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Exception>getExceptionsMap()Returns a map of index names and ExceptionsSet<String>getFailedIndexNames()Returns a set of names for the indexes that failed to createStringgetMessage()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
MultiIndexCreationException
public MultiIndexCreationException(HashMap<String,Exception> exceptionMap)
Creates anMultiIndexCreationException- Parameters:
exceptionMap- a map of index names and Exceptions
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getExceptionsMap
public Map<String,Exception> getExceptionsMap()
Returns a map of index names and Exceptions- Returns:
- a map of index names and Exceptions
-
getFailedIndexNames
public Set<String> getFailedIndexNames()
Returns a set of names for the indexes that failed to create- Returns:
- set of failed index names
-
-