org.apache.geode.cache.query

## Class QueryExecutionLowMemoryException

- 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.QueryExecutionLowMemoryException

- All Implemented Interfaces:
    java.io.Serializable

      public class QueryExecutionLowMemoryException
      extends CacheRuntimeException

  Thrown when the query is executing and the critical heap percentage is met.
  Since:
    GemFire 7.0
  See Also:
    `ResourceManager.setCriticalHeapPercentage(float)`, `If critical heap percentage is set, the query monitor can be disabled from sending out QueryExecutionLowMemoryExeceptions at the risk of a query exhausting all memory.`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryExecutionLowMemoryException()` Creates a new instance of `QueryExecutionLowMemoryException` without detail message.
    `QueryExecutionLowMemoryException(java.lang.String msg)` Constructs an instance of `QueryExecutionLowMemoryException` with the specified detail message.
    `QueryExecutionLowMemoryException(java.lang.String msg, java.lang.Throwable cause)` Constructs an instance of `QueryExecutionLowMemoryException` with the specified detail message and cause.
    `QueryExecutionLowMemoryException(java.lang.Throwable cause)` Constructs an instance of `QueryExecutionLowMemoryException` with 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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### QueryExecutionLowMemoryException

          public QueryExecutionLowMemoryException()

      Creates a new instance of `QueryExecutionLowMemoryException` without detail message.

    - #### QueryExecutionLowMemoryException

          public QueryExecutionLowMemoryException(java.lang.String msg)

      Constructs an instance of `QueryExecutionLowMemoryException` with the specified detail message.
      Parameters:
        `msg` - the detail message.

    - #### QueryExecutionLowMemoryException

          public QueryExecutionLowMemoryException(java.lang.String msg,
                                                  java.lang.Throwable cause)

      Constructs an instance of `QueryExecutionLowMemoryException` with the specified detail message and cause.
      Parameters:
        `msg` - the detail message
        `cause` - the causal Throwable

    - #### QueryExecutionLowMemoryException

          public QueryExecutionLowMemoryException(java.lang.Throwable cause)

      Constructs an instance of `QueryExecutionLowMemoryException` with the specified cause.
      Parameters:
        `cause` - the causal Throwable