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
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe 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
licenseUrlstringThe license url
BrokenLicenseUrlException(string, string)
Constructor
public BrokenLicenseUrlException(string licenseUrl, string message)
Parameters
licenseUrlstringThe license url
messagestringThe message to put in MissingLicenseFileException
BrokenLicenseUrlException(string, string, Exception)
Constructor
public BrokenLicenseUrlException(string licenseUrl, string message, Exception innerException)
Parameters
licenseUrlstringThe license url
messagestringThe message to put in MissingLicenseFileException
innerExceptionExceptionThe 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()