Class MissingResourceException
Exception that is thrown when a required resource could not be found.
Implements
Inherited Members
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class MissingResourceException : OffendingException<string>, ISerializable
Constructors
| Edit this page View SourceMissingResourceException()
Initializes a new instance of the MissingResourceException class.
Declaration
public MissingResourceException()
MissingResourceException(Exception)
Initializes a new instance of the MissingResourceException class.
Declaration
public MissingResourceException(Exception inner)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
MissingResourceException(Exception, string)
Initializes a new instance of the MissingResourceException class.
Declaration
public MissingResourceException(Exception inner, string missingId)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
string | missingId | Id of the resource that could not be found. |
MissingResourceException(string)
Initializes a new instance of the MissingResourceException class.
Declaration
public MissingResourceException(string missingId)
Parameters
Type | Name | Description |
---|---|---|
string | missingId | Id of the resource that could not be found. |
MissingResourceException(string, Exception)
Initializes a new instance of the MissingResourceException class.
Declaration
public MissingResourceException(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. |
MissingResourceException(string, Exception, string)
Initializes a new instance of the MissingResourceException class.
Declaration
public MissingResourceException(string message, Exception inner, string missingId)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |
string | missingId | Id of the resource that could not be found. |
MissingResourceException(string, string)
Initializes a new instance of the MissingResourceException class.
Declaration
public MissingResourceException(string message, string missingId)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
string | missingId | Id del recurso que ha producido la excepción. |