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

public class IllegalCollectionException
extends org.springframework.dao.DataAccessException

General exception for illegal collection of cosmos db

Constructor Summary

Constructor Description
IllegalCollectionException(String msg)

Construct a IllegalQueryException with the specified detail message.

IllegalCollectionException(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.getMostSpecificCause org.springframework.core.NestedRuntimeException.getRootCause

Constructor Details

IllegalCollectionException

public IllegalCollectionException(String msg)

Construct a IllegalQueryException with the specified detail message.

Parameters:

msg - the detail message

IllegalCollectionException

public IllegalCollectionException(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