com.vaadin.server.ErrorMessageProducer Maven / Gradle / Ivy
/*
* Copyright (C) 2000-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.server;
import java.io.Serializable;
/**
* Interface implemented by old Vaadin 7 exception types to produce the error
* message to show in a component.
*
* @since 8.0
*/
@Deprecated
public interface ErrorMessageProducer extends Serializable {
/**
* Gets the error message to show in the component.
*
* @return the error message to show
*/
ErrorMessage getErrorMessage();
}