LicgenException Class

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

Constructors

Syntax Description
LicgenException()

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

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

API

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