Package com.vaadin.copilot.exception
Class CopilotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.copilot.exception.CopilotException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DefaultValueNotAccessibleException,KotlinNotSupportedException,SuggestRestartException,UnknownExpressionTypeException
Generic exception for Copilot which exists mainly to make it easy to see that
an exception originated inside Copilot.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCopilotException(String message) Creates a new exception with the given message.CopilotException(String message, Throwable cause) Creates a new exception with the given message and cause.CopilotException(Throwable cause) Creates a new exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CopilotException
Creates a new exception with the given message.- Parameters:
message- the message of the exception
-
CopilotException
Creates a new exception with the given cause.- Parameters:
cause- the cause of the exception
-
CopilotException
Creates a new exception with the given message and cause.- Parameters:
message- the message of the exceptioncause- the cause of the exception
-