Class AzureCognitiveSearchMemoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.microsoft.semantickernel.SKException
-
- com.microsoft.semantickernel.connectors.memory.azurecognitivesearch.AzureCognitiveSearchMemoryException
-
- All Implemented Interfaces:
Serializable
public class AzureCognitiveSearchMemoryException extends SKException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAzureCognitiveSearchMemoryException.ErrorCodes
-
Constructor Summary
Constructors Constructor Description AzureCognitiveSearchMemoryException(AzureCognitiveSearchMemoryException.ErrorCodes errorCode)Create an exception with a messageAzureCognitiveSearchMemoryException(AzureCognitiveSearchMemoryException.ErrorCodes errorCode, String message)Create an exception with a messageAzureCognitiveSearchMemoryException(AzureCognitiveSearchMemoryException.ErrorCodes errorCode, String message, Throwable cause)Create an exception with a message and a cause
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureCognitiveSearchMemoryException.ErrorCodesgetErrorCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AzureCognitiveSearchMemoryException
public AzureCognitiveSearchMemoryException(@Nonnull AzureCognitiveSearchMemoryException.ErrorCodes errorCode)
Create an exception with a message- Parameters:
errorCode- The error code
-
AzureCognitiveSearchMemoryException
public AzureCognitiveSearchMemoryException(@Nonnull AzureCognitiveSearchMemoryException.ErrorCodes errorCode, @Nullable String message)
Create an exception with a message- Parameters:
message- a description of the cause of the exception
-
AzureCognitiveSearchMemoryException
public AzureCognitiveSearchMemoryException(@Nonnull AzureCognitiveSearchMemoryException.ErrorCodes errorCode, @Nullable String message, @Nullable Throwable cause)
Create an exception with a message and a cause- Parameters:
errorCode- the error codemessage- a description of the cause of the exceptioncause- the cause of the exception
-
-
Method Detail
-
getErrorCode
public AzureCognitiveSearchMemoryException.ErrorCodes getErrorCode()
-
-