Class AutoGeneratedLicenseNotAllowedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
io.confluent.license.InvalidLicenseException
io.confluent.license.AutoGeneratedLicenseNotAllowedException
All Implemented Interfaces:
Serializable

public class AutoGeneratedLicenseNotAllowedException extends InvalidLicenseException
Thrown when an auto-generated license (an unsigned JWT) is supplied as input. Trial and Developer (Free-Forever) licenses are generated internally and are never valid input; a user must supply a valid signed license instead. The AutoGeneratedLicenseNotAllowedException.Kind identifies which auto-generated license was supplied. Extends InvalidLicenseException so existing callers still treat it as an invalid license, while callers that want a specific, user-facing message can catch it.
See Also: