e.g.
class TestUI extends UI {
val run=Button(“Run”, {e=>
println(“About to die”)
throw new RuntimeException(“Argh!!!”)
})
content=new VerticalLayout{add(run)}
}
I click run, see big stack trace with
com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
at the top
But was expecting an explanation mark in the run button. Don’t see one.
Thanks.