NotSupportedException
classin packageklyn
public class NotSupportedException extends UncheckedException
└ NotSupportedException

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)
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public NotSupportedException
NotSupportedException(message as String = "Operation is not supported")
Creates an exception describing an unsupported operation.
Inherited Methods
methodInherited Methods from UncheckedException: toString
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml