Class CopilotException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DefaultValueNotAccessibleException, KotlinNotSupportedException, SuggestRestartException, UnknownExpressionTypeException

public class CopilotException extends RuntimeException
Generic exception for Copilot which exists mainly to make it easy to see that an exception originated inside Copilot.
See Also:
  • Constructor Details

    • CopilotException

      public CopilotException(String message)
      Creates a new exception with the given message.
      Parameters:
      message - the message of the exception
    • CopilotException

      public CopilotException(Throwable cause)
      Creates a new exception with the given cause.
      Parameters:
      cause - the cause of the exception
    • CopilotException

      public CopilotException(String message, Throwable cause)
      Creates a new exception with the given message and cause.
      Parameters:
      message - the message of the exception
      cause - the cause of the exception