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

com.threatconnect.sdk.app.exception.AppInstantiationException Maven / Gradle / Ivy

Go to download

The ThreatConnect Java SDK. Used to communicate with teh ThreatConnect Threat Intelligence Platform

The newest version!
package com.threatconnect.sdk.app.exception;

public class AppInstantiationException extends Exception
{
	private static final long serialVersionUID = 1L;
	
	public AppInstantiationException(final Exception cause, final Class clazz)
	{
		super(buildErrorMessage(clazz), cause);
	}
	
	private static final String buildErrorMessage(final Class clazz)
	{
		return "Unable to instantiate " + clazz.getName() + ". Does it contain a public no-argument constructor?";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy