public class NotSupportedException extends UncheckedException
Exception raised when an operation is unavailable on the current platform or is not supported by the selected backend. Unlike IllegalStateException, changing the object's lifecycle state does not make the operation available.
try:
throw NotSupportedException("This backend cannot perform the operation")
catch error as NotSupportedException:
print(error.message)| Modifier and Type | Member | Description |
|---|---|---|
| public | NotSupportedExceptionNotSupportedException(message as String = "Operation is not supported") |
Creates an exception describing an unsupported operation. |