Class LicensingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.alachisoft.ncache.runtime.exceptions.CacheException
-
- com.alachisoft.ncache.runtime.exceptions.LicensingException
-
- All Implemented Interfaces:
java.io.Serializable
public class LicensingException extends CacheException implements java.io.Serializable
LicensingException is thrown when Either license has expired or some error occurred during the validation of license.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicensingException()Default constructorLicensingException(int errorCode, java.lang.String reason, java.lang.String stackTrace)overloaded constructor.LicensingException(java.lang.String s)Overloaded constructor, takes the reason as parameter.
-
Method Summary
-
Methods inherited from class com.alachisoft.ncache.runtime.exceptions.CacheException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
Constructor Detail
-
LicensingException
public LicensingException()
Default constructor
-
LicensingException
public LicensingException(java.lang.String s)
Overloaded constructor, takes the reason as parameter.- Parameters:
s- reason of exception
-
LicensingException
public LicensingException(int errorCode, java.lang.String reason, java.lang.String stackTrace)overloaded constructor.- Parameters:
errorCode- assigned errorCodereason- the detail message.stackTrace- stackTrace
-
-