com.vaadin.hilla.

Class EndpointInvocationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.hilla.EndpointInvocationException

All Implemented Interfaces:

Serializable

Direct Known Subclasses:

EndpointInvocationException.EndpointAccessDeniedException, EndpointInvocationException.EndpointBadRequestException, EndpointInvocationException.EndpointInternalException, EndpointInvocationException.EndpointNotFoundException

public abstract class EndpointInvocationException extends Exception

Exception thrown by EndpointInvoker when invocation fails.

See Also:

  • Constructor Details

    • EndpointInvocationException

      public EndpointInvocationException(String errorMessage)

      Creates a new instance..

      Parameters:

      errorMessage - an additional message passed to the client side

  • Method Details

    • getMessage

      public String getMessage()

      Returns the additional message that is passed to the client side.

      Overrides:

      getMessage in class Throwable

      Returns:

      the error message or null if no error message was provided