Example usage for org.springframework.statemachine StateMachineException getMessage

List of usage examples for org.springframework.statemachine StateMachineException getMessage

Introduction

In this page you can find the example usage for org.springframework.statemachine StateMachineException getMessage.

Prototype

@Override
@Nullable
public String getMessage() 

Source Link

Document

Return the detail message, including the message from the nested exception if there is one.

Usage

From source file:demo.web.StateMachineController.java

@MessageExceptionHandler
@SendToUser(value = "/queue/errors", broadcast = false)
public String handleStateMachineError(StateMachineException e) {
    return e.getMessage();
}