Microsoft SDK for Java

LicenseException Class Constructors

The LicenseException Class contains the following constructors:

LicenseException()
LicenseException(String s)jsdk
LicenseException(int id, String s)

LicenseException()

Creates a LicenseException without a detailed message.

Syntax

public LicenseException;

LicenseException(String s)

Creates a LicenseException with a detailed message.

Syntax

public LicenseException(String s);

Parameters

s The detailed message.

LicenseException(int id, String s)

Creates a new LicenseException with an identifier and a detailed message.

Syntax

public LicenseException(int id, String s);

Parameters

id The exception identifier. This can be one of the following identifiers:
  INVALID NOT_FOUND NO_DESCRIPTORS
WRITE_ERROR KEY_DOES_NOT_MATCH READ_ERROR
EXPIRED RUNTIME_ONLY INVALID_USER
s The detailed message.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.