Package com.vaadin.copilot.exception
Class KotlinNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.copilot.exception.CopilotException
com.vaadin.copilot.exception.UnsupportedSourceLanguageException
com.vaadin.copilot.exception.KotlinNotSupportedException
- All Implemented Interfaces:
CopilotErrorCode,Serializable
Deprecated.
The exception is thrown for operations that are not supported e.g.
JavaRewriter
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.copilot.exception.UnsupportedSourceLanguageException
ERROR_CODE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.copilot.exception.UnsupportedSourceLanguageException
getErrorCode, getErrorDetails, getLanguage, getOperationMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KotlinNotSupportedException
public KotlinNotSupportedException()Deprecated.
-
UnsupportedSourceLanguageExceptionwith 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.