Class UnsupportedQueryException

Object
Throwable
Exception
DataStoreException
UnsupportedQueryException
All Implemented Interfaces:
Serializable, Localized­Exception

public class UnsupportedQueryException extends DataStoreException
Thrown when a resources cannot be filtered with a given query. Some examples of cases where this exception may be thrown are:
  • The Query is an instance of a class unsupported by the resource (for example, applying a Coverage­Query on a Feature­Set).
  • The query is requesting a property that does not exist in the Resource.
  • The values in the Data­Store are unconvertible to some characteristics (e.g., type or name) requested by the query.
This exception may be thrown when Feature­Set​.subset(Query) is executed, but may also be deferred until another method of the returned subset is invoked.
Since:
0.8
See Also:
  • Constructor Details

    • UnsupportedQueryException

      public UnsupportedQueryException()
      Creates an exception with no cause and no details message.
    • UnsupportedQueryException

      public UnsupportedQueryException(String message)
      Creates an exception with the specified details message.
      Parameters:
      message - the detail message.
    • UnsupportedQueryException

      public UnsupportedQueryException(Throwable cause)
      Creates an exception with the specified cause and no details message.
      Parameters:
      cause - the cause for this exception.
    • UnsupportedQueryException

      public UnsupportedQueryException(String message, Throwable cause)
      Creates an exception with the specified details message and cause.
      Parameters:
      message - the detail message.
      cause - the cause for this exception.