iText 7 7.1.9 API
iText.Kernel.LicenseVersionException Class Reference

Exception class for License-key version exceptions throw in the Version class More...

Inheritance diagram for iText.Kernel.LicenseVersionException:

Public Member Functions

  LicenseVersionException (String message)
  Creates a new instance of PdfException. More...
 
  LicenseVersionException (Exception cause)
  Creates a new instance of PdfException. More...
 
  LicenseVersionException (String message, Object obj)
  Creates a new instance of PdfException. More...
 
  LicenseVersionException (String message, Exception cause)
  Creates a new instance of PdfException. More...
 
  LicenseVersionException (String message, Exception cause, Object obj)
  Creates a new instance of PdfException. More...
 
virtual iText.Kernel.LicenseVersionException  SetMessageParams (params Object[] messageParams)
  Sets additional params for Exception message. More...
 

Static Public Attributes

const String  NO_I_TEXT7_LICENSE_IS_LOADED_BUT_AN_I_TEXT5_LICENSE_IS_LOADED = "No iText7 License is loaded but an iText5 license is loaded."
 
const String  THE_MAJOR_VERSION_OF_THE_LICENSE_0_IS_LOWER_THAN_THE_MAJOR_VERSION_1_OF_THE_CORE_LIBRARY = "The major version of the license ({0}) is lower than the major version ({1}) of the Core library."
 
const String  THE_MAJOR_VERSION_OF_THE_LICENSE_0_IS_HIGHER_THAN_THE_MAJOR_VERSION_1_OF_THE_CORE_LIBRARY = "The major version of the license ({0}) is higher than the major version ({1}) of the Core library."
 
const String  THE_MINOR_VERSION_OF_THE_LICENSE_0_IS_LOWER_THAN_THE_MINOR_VERSION_1_OF_THE_CORE_LIBRARY = "The minor version of the license ({0}) is lower than the minor version ({1}) of the Core library."
 
const String  THE_MINOR_VERSION_OF_THE_LICENSE_0_IS_HIGHER_THAN_THE_MINOR_VERSION_1_OF_THE_CORE_LIBRARY = "The minor version of the license ({0}) is higher than the minor version ({1}) of the Core library."
 
const String  VERSION_STRING_IS_EMPTY_AND_CANNOT_BE_PARSED = "Version string is empty and cannot be parsed."
 
const String  MAJOR_VERSION_IS_NOT_NUMERIC = "Major version is not numeric"
 
const String  MINOR_VERSION_IS_NOT_NUMERIC = "Minor version is not numeric"
 
const String  UNKNOWN_EXCEPTION_WHEN_CHECKING_LICENSE_VERSION = "Unknown Exception when checking License version"
 
const String  LICENSE_FILE_NOT_LOADED = "License file not loaded."
 

Properties

override String  Message [get]
 

Detailed Description

Exception class for License-key version exceptions throw in the Version class

Constructor & Destructor Documentation

◆ LicenseVersionException() [1/5]

iText.Kernel.LicenseVersionException.LicenseVersionException ( String  message )
inline

Creates a new instance of PdfException.

Parameters
message the detail message.

◆ LicenseVersionException() [2/5]

iText.Kernel.LicenseVersionException.LicenseVersionException ( Exception  cause )
inline

Creates a new instance of PdfException.

Parameters
cause the cause (which is saved for later retrieval by System.Exception.InnerException() method).

◆ LicenseVersionException() [3/5]

iText.Kernel.LicenseVersionException.LicenseVersionException ( String  message,
Object  obj 
)
inline

Creates a new instance of PdfException.

Parameters
message the detail message.
obj an object for more details.

◆ LicenseVersionException() [4/5]

iText.Kernel.LicenseVersionException.LicenseVersionException ( String  message,
Exception  cause 
)
inline

Creates a new instance of PdfException.

Parameters
message the detail message.
cause the cause (which is saved for later retrieval by System.Exception.InnerException() method).

◆ LicenseVersionException() [5/5]

iText.Kernel.LicenseVersionException.LicenseVersionException ( String  message,
Exception  cause,
Object  obj 
)
inline

Creates a new instance of PdfException.

Parameters
message the detail message.
cause the cause (which is saved for later retrieval by System.Exception.InnerException() method).
obj an object for more details.

Member Function Documentation

◆ SetMessageParams()

virtual iText.Kernel.LicenseVersionException iText.Kernel.LicenseVersionException.SetMessageParams ( params Object[]  messageParams )
inlinevirtual

Sets additional params for Exception message.

Parameters
messageParams additional params.
Returns
object itself.