Microsoft SDK for Java

LicenseException Class

The LicenseException Class of the com.ms.license package represents an exception that is thrown when a Java object tries to access a license that either does not exist or is not valid.

public class LicenseException extends Exception
{
  // Fields
  public static final int EXPIRED;
  public static final int INVALID;
  public static final int INVALID_USER;
  public static final int KEY_DOES_NOT_MATCH;
  public static final int NO_DESCRIPTORS;
  public static final int NOT_FOUND;
  public static final int READ_ERROR;
  public static final int RUNTIME_ONLY;
  public static final int WRITE_ERROR;

  // Constructors
  public LicenseException();
  public LicenseException(String s);
  public LicenseException(int id, String s);

  // Methods
  public int getID();
}

Hierarchy

Exception
  |
  +--LicenseException

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