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

fr.whimtrip.ext.jwhtscrapper.exception.LinkListCastException Maven / Gradle / Ivy

The newest version!
package fr.whimtrip.ext.jwhtscrapper.exception;

import fr.whimtrip.ext.jwhtscrapper.annotation.LinkListsFromBuilder;

import java.lang.reflect.Field;
import java.util.List;

/**
 * 

Part of project jwht-scrapper

*

Created on 29/07/18

* *

* Thrown when {@link LinkListsFromBuilder} annotation is * used on a non List typed field. *

* * @author Louis-wht * @since 1.0.0 */ public class LinkListCastException extends LinkException { public LinkListCastException(Field field) { super( String.format( "%s cannot be used on a non %s field for field %s.", LinkListsFromBuilder.class.getName(), List.class.getName(), field ) ); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy