Example usage for com.vaadin.server ErrorMessage interface-usage

List of usage examples for com.vaadin.server ErrorMessage interface-usage

Introduction

In this page you can find the example usage for com.vaadin.server ErrorMessage interface-usage.

Usage

From source file de.metas.procurement.webui.exceptions.LoginFailedException.java

public class LoginFailedException extends RuntimeException implements ErrorMessage {
    private static final long serialVersionUID = 1L;

    public LoginFailedException(final String email) {
        super("Invalid user or password"); // TODO i18n
    }

From source file de.metas.procurement.webui.exceptions.PasswordResetFailedException.java

public class PasswordResetFailedException extends RuntimeException implements ErrorMessage {
    private static final long serialVersionUID = 1L;

    public PasswordResetFailedException(final String email, final String message) {
        super(message);
    }