All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.telegraph.api.Validable Maven / Gradle / Ivy

The newest version!
package org.telegram.telegraph.api;

import org.telegram.telegraph.exceptions.TelegraphValidationException;

/**
 * @author Ruben Bermudez
 * @version 1.0
 */
public interface Validable {
    /**
     * Validates that mandatory fields are filled and optional objects
     * @throws TelegraphValidationException If any mandatory field is invalid
     */
    void validate() throws TelegraphValidationException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy