ObjectNotFoundException Class |
Namespace: MicaSystems.Utils
public class ObjectNotFoundException : MicaException, IMicaException
The ObjectNotFoundException type exposes the following members.
Name | Description | |
---|---|---|
![]() | ObjectNotFoundException(String) |
Exception thrown when an object has not been found.
|
![]() | ObjectNotFoundException(String, Exception) |
Exception thrown when an object has not been found.
|
![]() | ObjectNotFoundException(String, String, String) |
Exception thrown when an object has not been found.
The message is formatted as the following:
"{objectName} with {objectKeyName} '{objectKeyValue}' not found.".
|
Name | Description | |
---|---|---|
![]() | Code |
Gets the error code.
(Inherited from MicaException.) |
![]() | Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) |
![]() | HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) |
![]() | HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) |
![]() | InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) |
![]() | LastStep |
Gets the last step executed before the exception.
(Inherited from MicaException.) |
![]() | LogEntryId |
Gets the id of the entry representing this exception in the log.
(Inherited from MicaException.) |
![]() | Logger |
Gets the logger attached to this exception and that can be used to create entries or find steps.
(Inherited from MicaException.) |
![]() | Message | Gets a message that describes the current exception. (Inherited from Exception.) |
![]() | Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) |
![]() | StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) |
![]() | Tag |
Gets a custom object attached to this exception.
(Inherited from MicaException.) |
![]() | TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
Name | Description | |
---|---|---|
![]() | GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) |
![]() | GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) |
![]() | GetType | Gets the runtime type of the current instance. (Inherited from Exception.) |
![]() | ToString | Creates and returns a string representation of the current exception. (Inherited from Exception.) |
![]() | TryEnsureLogEntry |
Tries to create an entry in the log if not already created and if a log is available.
(Inherited from MicaException.)Returns true if an entry has just been created. |
Name | Description | |
---|---|---|
![]() | SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.) |
Name | Description | |
---|---|---|
![]() | AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) |
![]() | EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) |
![]() | EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) |
![]() | GenerateDisplayMessage | Generates a description of the exception. This description includes type and message. |
![]() | GenerateDisplayMessageForWeb | Generates a description of the exception. This description includes type and message. Lines will be separated by a BR tag. |
![]() | GenerateFullDisplayMessage | Generates a description of the exception and its inner exceptions. These descriptions include type and message. |
![]() | GenerateFullDisplayMessageForWeb | Generates a description of the exception and its inner exceptions. These descriptions include type and message. Lines will be separated by a BR tag. |
![]() | GenerateFullTechnicalMessage | Generates a complete description of the exception and its inner exceptions. These descriptions include type, message, steps and stack trace. If a logger is provided, the message will include its last steps. |
![]() | GenerateFullTechnicalMessageForWeb | Generates a complete description of the exception and its inner exceptions. These descriptions include type, message, steps and stack trace. If a logger is provided, the message will include its last steps. Lines will be separated by a BR tag. |
![]() | GenerateTechnicalMessage | Generates a complete description of the exception. This description includes type, message, steps and stack trace. |
![]() | GenerateTechnicalMessageForWeb | Generates a complete description of the exception. This description includes type, message, steps and stack trace. Lines will be separated by a BR tag. |
![]() | GetAllExceptions |
Gets all exceptions of the specified exception.
This includes the exception itself followed by its inner exceptions.
(Defined by Exceptions.) |
![]() | GetAllInnerExceptions |
Gets all inner exceptions of the specified exception.
(Defined by Exceptions.) |
![]() | GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) |
![]() | GetTraceLog |
Gets the complete stack trace, each line representing a method call.
(Defined by Exceptions.)Note : if a builder is provided, this method will return null. |
![]() | GetTraceLogForWeb |
Gets the complete stack trace as HTML, each line representing a method call.
(Defined by Exceptions.)Note : if a builder is provided, this method will return an empty HTML string. |
![]() | IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) |
![]() | IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) |
![]() | Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) |
![]() | Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) |
![]() | SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |
![]() | SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |
![]() | SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |