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

com.dooapp.gaedo.blueprints.transformers.ClassIsNotAKnownLiteralException Maven / Gradle / Ivy

package com.dooapp.gaedo.blueprints.transformers;


import java.lang.reflect.Type;
import java.util.Arrays;

import com.dooapp.gaedo.blueprints.BluePrintsCrudServiceException;

public class ClassIsNotAKnownLiteralException extends BluePrintsCrudServiceException {

	public ClassIsNotAKnownLiteralException(TransformerAssociation[] values, Class dataClass) {
		this(values, dataClass.getName());
	}

	public ClassIsNotAKnownLiteralException(TransformerAssociation[] values, Type t) {
		this(values, t.toString());
	}

	public ClassIsNotAKnownLiteralException(TransformerAssociation[] values, String effectiveType) {
		super("given class "+effectiveType+" is not associated to any transformer. Known literals types are "+Arrays.asList(values));
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy