
com.threatconnect.sdk.app.exception.AppInstantiationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
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