Class BrokenLicenseUrlException
- Namespace
- MASES.LicenseManager.Common
- Assembly
- C2JBridge.dll
Exception raised if the license file is not available. Extends MissingLicenseException.
[Serializable]
public class BrokenLicenseUrlException : MissingLicenseException, ISerializable, _Exception
- Inheritance
-
BrokenLicenseUrlException
- Implements
- Inherited Members
- Extension Methods
Constructors
BrokenLicenseUrlException(SerializationInfo, StreamingContext)
Initializes a new instance of the MissingLicenseFileException class with serialized data.
protected BrokenLicenseUrlException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The info parameter is null.
- SerializationException
The class name is null or HResult is zero (0).
BrokenLicenseUrlException(string)
Constructor
public BrokenLicenseUrlException(string licenseUrl)
Parameters
licenseUrl
stringThe license url
BrokenLicenseUrlException(string, string)
Constructor
public BrokenLicenseUrlException(string licenseUrl, string message)
Parameters
licenseUrl
stringThe license url
message
stringThe message to put in MissingLicenseFileException
BrokenLicenseUrlException(string, string, Exception)
Constructor
public BrokenLicenseUrlException(string licenseUrl, string message, Exception innerException)
Parameters
licenseUrl
stringThe license url
message
stringThe message to put in MissingLicenseFileException
innerException
ExceptionThe inner Exception
Properties
LicenseUrl
The url to the license
public string LicenseUrl { get; }
Property Value
Methods
ToString()
Converts this BrokenLicenseUrlException into a printable string
public override string ToString()