IllegalQueryException Class

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • org.springframework.core.NestedRuntimeException
            • org.springframework.dao.DataAccessException
              • com.azure.spring.data.cosmos.exception.IllegalQueryException

public class IllegalQueryException
extends org.springframework.dao.DataAccessException

General exception for illegal query of cosmos db

Constructor Summary

Constructor Description
IllegalQueryException(String msg)

Construct a IllegalQueryException with the specified detail message.

IllegalQueryException(String msg, Throwable cause)

Construct a IllegalQueryException with the specified detail message and nested exception.

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

Methods inherited from org.springframework.core.NestedRuntimeException

org.springframework.core.NestedRuntimeException.contains(java.lang.Class< org.springframework.core.NestedRuntimeException.getMessage org.springframework.core.NestedRuntimeException.getMostSpecificCause org.springframework.core.NestedRuntimeException.getRootCause

Constructor Details

IllegalQueryException

public IllegalQueryException(String msg)

Construct a IllegalQueryException with the specified detail message.

Parameters:

msg - the detail message

IllegalQueryException

public IllegalQueryException(String msg, Throwable cause)

Construct a IllegalQueryException with the specified detail message and nested exception.

Parameters:

msg - the detail message
cause - the nested exception

Applies to