Class ObjectNotFoundException
Represents an exception that is thrown when a requested object is not found.
public class ObjectNotFoundException : Exception, ISerializable, _Exception
- Inheritance
-
ObjectNotFoundException
- Implements
- Inherited Members
Constructors
ObjectNotFoundException()
Initializes a new instance of the ObjectNotFoundException class.
public ObjectNotFoundException()
ObjectNotFoundException(string)
Initializes a new instance of the ObjectNotFoundException class with a specified error message.
public ObjectNotFoundException(string message)
Parameters
message
stringThe error message that explains the reason for the exception.
ObjectNotFoundException(string, Exception)
Initializes a new instance of the ObjectNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ObjectNotFoundException(string message, Exception inner)