Class PreTrialLicenseValidationException

All Implemented Interfaces:
Serializable

public class PreTrialLicenseValidationException extends LicenseValidationException
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 Details

    • PreTrialLicenseValidationException

      public PreTrialLicenseValidationException(PreTrial preTrial)
      Constructs a new PreTrialLicenseValidationException with a given pre-trial state. The exception message is determined based on the state of the provided PreTrial object.
      Parameters:
      preTrial - the PreTrial instance containing details about the pre-trial state. Must not be null. Throws a NullPointerException if preTrial is null.
  • Method Details

    • getPreTrial

      public PreTrial getPreTrial()
      Retrieves the PreTrial instance associated with this exception.

      Information can be used to build detailed messages about the pre-trial state for the end-user.

      Returns:
      the PreTrial instance containing details about the pre-trial state that caused the exception