Package com.vaadin.pro.licensechecker
Class PreTrialLicenseValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.pro.licensechecker.LicenseException
com.vaadin.pro.licensechecker.LicenseValidationException
com.vaadin.pro.licensechecker.PreTrialLicenseValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when a pre-trial validation fails due to specific conditions
of the pre-trial state. This class extends
LicenseValidationException
to provide detailed contextual information about the pre-trial state that
caused the exception.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPreTrialLicenseValidationException(PreTrial preTrial) Constructs a newPreTrialLicenseValidationExceptionwith a given pre-trial state. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves thePreTrialinstance associated with this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PreTrialLicenseValidationException
Constructs a newPreTrialLicenseValidationExceptionwith a given pre-trial state. The exception message is determined based on the state of the providedPreTrialobject.- Parameters:
preTrial- thePreTrialinstance containing details about the pre-trial state. Must not benull. Throws aNullPointerExceptionifpreTrialis null.
-
-
Method Details
-
getPreTrial
Retrieves thePreTrialinstance associated with this exception.Information can be used to build detailed messages about the pre-trial state for the end-user.
- Returns:
- the
PreTrialinstance containing details about the pre-trial state that caused the exception
-