AIException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. semantickernel. exceptions. SKException - com.
microsoft. semantickernel. exceptions. AIException
- com.
- com.
- java.
- java.
- java.
public class AIException
extends SKException
AI logic exception
Constructor Summary
| Constructor | Description |
|---|---|
| AIException(AIException.ErrorCodes error) |
Initializes a new instance of the AIException class. |
| AIException(AIException.ErrorCodes errorCode, String message) |
Initializes a new instance of the AIException class. |
| AIException(AIException.ErrorCodes errorCode, String message, Throwable innerException) |
Initializes a new instance of the AIException class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Error |
getErrorCode()
Gets the error code. |
Methods inherited from SKException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
AIException
public AIException(AIException.ErrorCodes error)
Initializes a new instance of the AIException class.
Parameters:
AIException
public AIException(AIException.ErrorCodes errorCode, String message)
Initializes a new instance of the AIException class.
Parameters:
AIException
public AIException(AIException.ErrorCodes errorCode, String message, Throwable innerException)
Initializes a new instance of the AIException class.
Parameters:
Method Details
getErrorCode
public AIException.ErrorCodes getErrorCode()
Gets the error code.
Returns: