com.vaadin.flow.server.

Class ServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.flow.server.ServiceException

All Implemented Interfaces:

Serializable

public class ServiceException extends Exception

Thrown for problems which occur in the VaadinService layer.

Since:

1.0

Author:

Vaadin Ltd

See Also:

  • Constructor Details

    • 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