VMware GemFire Java API Reference
Package org.apache.geode.cache.query
Class QueryExecutionTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.cache.CacheRuntimeException
-
- org.apache.geode.cache.query.QueryExecutionTimeoutException
-
- All Implemented Interfaces:
Serializable
public class QueryExecutionTimeoutException extends CacheRuntimeException
Thrown when the query execution takes more than the specified max time. The Max query execution time is set using the system variable gemfire.Cache.MAX_QUERY_EXECUTION_TIME.- Since:
- GemFire 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryExecutionTimeoutException()Creates a new instance ofQueryExecutionTimeoutExceptionwithout detail message.QueryExecutionTimeoutException(String msg)Constructs an instance ofQueryExecutionTimeoutExceptionwith the specified detail message.QueryExecutionTimeoutException(String msg, Throwable cause)Constructs an instance ofQueryExecutionTimeoutExceptionwith the specified detail message and cause.QueryExecutionTimeoutException(Throwable cause)Constructs an instance ofQueryExecutionTimeoutExceptionwith the specified cause.
-
Method Summary
-
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toString
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
QueryExecutionTimeoutException
public QueryExecutionTimeoutException()
Creates a new instance ofQueryExecutionTimeoutExceptionwithout detail message.
-
QueryExecutionTimeoutException
public QueryExecutionTimeoutException(String msg)
Constructs an instance ofQueryExecutionTimeoutExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
QueryExecutionTimeoutException
public QueryExecutionTimeoutException(String msg, Throwable cause)
Constructs an instance ofQueryExecutionTimeoutExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the causal Throwable
-
QueryExecutionTimeoutException
public QueryExecutionTimeoutException(Throwable cause)
Constructs an instance ofQueryExecutionTimeoutExceptionwith the specified cause.- Parameters:
cause- the causal Throwable
-
-