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

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

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

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

import java.lang.reflect.Field;

/**
 * 

Part of project jwht-scrapper

*

Created on 29/07/18

* *

* Thrown when a field that is not String typed is incorrectly * annotated with @{@link Link} annotation. *

* * @author Louis-wht * @since 1.0.0 */ public class LinkClassCastException extends LinkException { public LinkClassCastException(Field field) { super( String.format( "Field %s link cannot be followed because any link provider field should" + " hold a String typed instance.", field ) ); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy