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

org.jvnet.jaxb.annox.annotation.NoSuchAnnotationFieldException Maven / Gradle / Ivy

The newest version!
package org.jvnet.jaxb.annox.annotation;

import java.lang.annotation.Annotation;

public class NoSuchAnnotationFieldException extends Exception {

	private static final long serialVersionUID = 1L;

	private final Class annotationType;

	private final String name;

	public NoSuchAnnotationFieldException(
			final Class annotationType,
			final String name, Throwable cause) {
		super("No such annotation field [" + name + "] in annotation class ["
				+ (annotationType == null ? "null" : annotationType.getName())
				+ "].", cause);
		this.annotationType = annotationType;
		this.name = name;
	}

	public Class getAnnotationType() {
		return annotationType;
	}

	public String getName() {
		return name;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy