Class DatabaseCreationException
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.DatabaseCreationException
- All Implemented Interfaces:
Serializable
public class DatabaseCreationException
extends org.springframework.dao.DataAccessException
General exception for illegal creation of cosmos db
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct aIllegalQueryExceptionwith the specified detail message.DatabaseCreationException(String msg, Throwable cause) Construct aIllegalQueryExceptionwith the specified detail message and nested exception. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DatabaseCreationException
Construct aIllegalQueryExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
DatabaseCreationException
Construct aIllegalQueryExceptionwith the specified detail message and nested exception.- Parameters:
msg- the detail messagecause- the nested exception
-