Class InvalidUriException
Exception that is thrown when an Uri does not point to a valid resource.
Implements
Inherited Members
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class InvalidUriException : OffendingException<Uri>, ISerializable
Constructors
| Edit this page View SourceInvalidUriException()
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException()
InvalidUriException(Exception)
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException(Exception inner)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
InvalidUriException(Exception, Uri)
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException(Exception inner, Uri offendingUri)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
Uri | offendingUri | Uri that pointed to an invalid resource. |
InvalidUriException(string)
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
InvalidUriException(string, Exception)
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |
InvalidUriException(string, Exception, Uri)
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException(string message, Exception inner, Uri offendingUri)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |
Uri | offendingUri | Uri that pointed to an invalid resource. |
InvalidUriException(string, Uri)
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException(string message, Uri offendingUri)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Uri | offendingUri | Uri that pointed to an invalid resource. |
InvalidUriException(Uri)
Initializes a new instance of the InvalidUriException class.
Declaration
public InvalidUriException(Uri offendingUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | offendingUri | Uri that pointed to an invalid resource. |