You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.

Class ServiceException

    • Constructor Detail

      • ServiceException

        public ServiceException​(Throwable throwable)

        Creates an exception which wraps the given throwable.

        Parameters:

        throwable - the throwable to wrap

      • ServiceException

        public ServiceException​(String message)

        Creates an exception which contains the given message.

        Parameters:

        message - the message

      • ServiceException

        public ServiceException​(String message,
                                Throwable throwable)

        Creates an exception which wraps the given throwable and contains the given message.

        Parameters:

        message - the message

        throwable - the throwable to wrap