Package org.apache.groovy.ginq.provider.collection.runtime

# Class TooManyValuesException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
org.apache.groovy.ginq.provider.collection.runtime.TooManyValuesException

All Implemented Interfaces:
  `Serializable`

public class TooManyValuesException extends GroovyRuntimeException
Thrown when too many values returned by sub-query in the `select` clause

Since:
  4.0.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TooManyValuesException(String msg)`
  Creates an exception for a sub-query that returned too many values.

- ## Method Summary

  ### Methods inherited from class groovy.lang.GroovyRuntimeException

  `getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

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

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

- ## Constructor Details

  - ### TooManyValuesException

    public TooManyValuesException(String msg)
    Creates an exception for a sub-query that returned too many values.
    Parameters:
      `msg` - the error message