ConfigurationException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. semantickernel. exceptions. SKCheckedException - com.
microsoft. semantickernel. exceptions. ConfigurationException
- com.
- com.
- java.
- java.
public class ConfigurationException
extends SKCheckedException
An exception that is thrown when there is an error with the Semantic Kernel configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| ConfigurationException(ConfigurationException.ErrorCodes error) |
Creates a new instance of the ConfigurationException class. |
| ConfigurationException(ConfigurationException.ErrorCodes errorCode, String message) |
Creates a new instance of the ConfigurationException class. |
| ConfigurationException(ConfigurationException.ErrorCodes errorCode, String message, Throwable innerException) |
Creates a new instance of the ConfigurationException class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Error |
getErrorCode()
Gets the error code. |
Methods inherited from SKCheckedException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ConfigurationException
public ConfigurationException(ConfigurationException.ErrorCodes error)
Creates a new instance of the ConfigurationException class.
Parameters:
ConfigurationException
public ConfigurationException(ConfigurationException.ErrorCodes errorCode, String message)
Creates a new instance of the ConfigurationException class.
Parameters:
ConfigurationException
public ConfigurationException(ConfigurationException.ErrorCodes errorCode, String message, Throwable innerException)
Creates a new instance of the ConfigurationException class.
Parameters:
Method Details
getErrorCode
public ConfigurationException.ErrorCodes getErrorCode()
Gets the error code.
Returns: