LicenseSecurityException ClassXML Compare .NET API Documentation
XML Compare .NET API Documentation - DEPRECATED
An exception indicating a problem with the activation/licensing or other security related aspects of the DeltaXML software when the JVM is using a Security Manager.
Inheritance Hierarchy

System Object
  System Exception
    Throwable
      Exception
        com.deltaxml.api DeltaXMLException
          com.deltaxml.api DeltaXMLProcessingException
            com.deltaxml.api LicenseException
              com.deltaxml.api LicenseSecurityException

Namespace: com.deltaxml.api
Assembly: deltaxml (in deltaxml.dll) Version: 10.4.0.1000
Syntax

[SerializableAttribute]
public class LicenseSecurityException : LicenseException
Remarks

An exception indicating a problem with the activation/licensing or other security related aspects of the DeltaXML software when the JVM is using a Security Manager. Certain security manager settings will preclude the operation of the activation/licensing features of the DeltaXML software. The precise permissions needed to be granted by the security manager depend on whether the license is being activated/deactivated or whether running the software and also on the type of license (enterprise/professional-server/named-user) being used.

Some permissions typically required include:

  • permission java.lang.RuntimePermission "getClassLoader";
  • permission java.lang.RuntimePermission "getProtectionDomain";
  • permission java.lang.RuntimePermission "preferences";

The detail message and underlying cause com.deltaxml.api.DeltaXMLException.getCause may provide some further information about the security manager permissions involved.

The exact permissions required vary according to the JVM/platform, license-type and whether activating or running the code. Please contact DeltaXML support for further information and advice if you see this exception; a number of example preference files and notes are available to support users with SecurityManager issues.

Note: the getErrorCode() method is provided for compatibility with earlier XML Compare releases; when called with this exception the result will be: 12

See Also