Click or drag to resize

MicaException Class

The generic exception. Parent class of all exceptions implemented by Ticup.
Inheritance Hierarchy
SystemObject
  SystemException
    MicaSystems.UtilsMicaException
      More...

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public abstract class MicaException : Exception

The MicaException type exposes the following members.

Constructors
  NameDescription
Public methodMicaException(String)
The generic exception. Parent class of all exceptions implemented by Ticup.
Public methodMicaException(String, Exception)
The generic exception. Parent class of all exceptions implemented by Ticup.
Top
Properties
  NameDescription
Public propertyCode
Gets the error code.
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public propertyHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyLastStep
Gets the last step executed before the exception.
Public propertyLogEntryId
Gets the id of the entry representing this exception in the log.
Public propertyLogger
Gets the logger attached to this exception and that can be used to create entries or find steps.
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTag
Gets a custom object attached to this exception.
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Top
Methods
  NameDescription
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Public methodTryEnsureLogEntry
Tries to create an entry in the log if not already created and if a log is available.

Returns true if an entry has just been created.

Top
Events
  NameDescription
Protected eventSerializeObjectState
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(Inherited from Exception.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGenerateDisplayMessage

Generates a description of the exception.

This description includes type and message.

(Defined by Exceptions.)
Public Extension MethodGenerateDisplayMessageForWeb

Generates a description of the exception.

This description includes type and message.

Lines will be separated by a BR tag.

(Defined by Exceptions.)
Public Extension MethodGenerateFullDisplayMessage

Generates a description of the exception and its inner exceptions.

These descriptions include type and message.

(Defined by Exceptions.)
Public Extension MethodGenerateFullDisplayMessageForWeb

Generates a description of the exception and its inner exceptions.

These descriptions include type and message.

Lines will be separated by a BR tag.

(Defined by Exceptions.)
Public Extension MethodGenerateFullTechnicalMessage

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.

(Defined by Exceptions.)
Public Extension MethodGenerateFullTechnicalMessageForWeb

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.

(Defined by Exceptions.)
Public Extension MethodGenerateTechnicalMessage

Generates a complete description of the exception.

This description includes type, message, steps and stack trace.

(Defined by Exceptions.)
Public Extension MethodGenerateTechnicalMessageForWeb

Generates a complete description of the exception.

This description includes type, message, steps and stack trace.

Lines will be separated by a BR tag.

(Defined by Exceptions.)
Public Extension MethodGetAllExceptions
Gets all exceptions of the specified exception. This includes the exception itself followed by its inner exceptions.
(Defined by Exceptions.)
Public Extension MethodGetAllInnerExceptions
Gets all inner exceptions of the specified exception.
(Defined by Exceptions.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodGetTraceLog
Gets the complete stack trace, each line representing a method call.

Note : if a builder is provided, this method will return null.

(Defined by Exceptions.)
Public Extension MethodGetTraceLogForWeb
Gets the complete stack trace as HTML, each line representing a method call.

Note : if a builder is provided, this method will return an empty HTML string.

(Defined by Exceptions.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemException
    MicaSystems.UtilsMicaException
      MicaSystems.UtilsAccessDeniedException
      MicaSystems.UtilsAssemblyLoadException
      MicaSystems.UtilsAuthorizationException
      MicaSystems.UtilsBuildException
      MicaSystems.UtilsDataCollisionException
      MicaSystems.UtilsInitializationException
      MicaSystems.UtilsInvalidFileTypeException
      MicaSystems.UtilsInvalidStateException
      MicaSystems.UtilsLicenceException
      MicaSystems.UtilsMissingDataException
      MicaSystems.UtilsObjectNotFoundException
      MicaSystems.UtilsOperationFailedException
      MicaSystems.UtilsSqlConnectionException
      MicaSystems.UtilsSqlEnsuringException
      MicaSystems.UtilsSqlTransactionException
      MicaSystems.UtilsUniverseException
      MicaSystems.UtilsValidationException
      MicaSystems.UtilsWebServiceConnectionException
      Packflow.Core.JobsPFJobValidationException
      Packflow.CorePFException
      Packflow.Core.WidgetsDuplicateWidgetGlobalNameException
      Packflow.Core.WidgetsWidgetInstantiationException
      Packflow.Core.WidgetsWidgetNotFoundException