LicensingException Class

This class provides API to initialize and return the error code and error message.

Constructors

Syntax Description
LicensingException()

Default constructor of the LicensingException class. Creates an LicensingException object.

LicensingException(int statusCode, String errorMessage) Creates an object of the LicensingException class that defines an error code and the corresponding error message.

API

Modifier and Type API
int getStatusCode()
string getMessage()