Class KotlinNotSupportedException

All Implemented Interfaces:
CopilotErrorCode, Serializable

@Deprecated public class KotlinNotSupportedException extends UnsupportedSourceLanguageException
Deprecated.
throw UnsupportedSourceLanguageException with the language and the operation instead, so the refusal can name what was declined. Kept as a subclass because call sites still throw it and because it preserves the original message.
The exception is thrown for operations that are not supported e.g. JavaRewriter
See Also:
  • Constructor Details

    • KotlinNotSupportedException

      public KotlinNotSupportedException()
      Deprecated.