Click or drag to resize

PFObjectNotFoundException Class

Exception thrown when a Packflow object has not been found.
Inheritance Hierarchy

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public class PFObjectNotFoundException : PFException

The PFObjectNotFoundException type exposes the following members.

Constructors
  NameDescription
Public methodPFObjectNotFoundException(String)
Initializes a new instance of the PFObjectNotFoundException class.
Public methodPFObjectNotFoundException(String, Exception)
Initializes a new instance of the PFObjectNotFoundException class.
Top
Properties
  NameDescription
Public propertyCode
Gets the error code.
(Inherited from MicaException.)
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.
(Inherited from MicaException.)
Public propertyLogEntryId
Gets the id of the entry representing this exception in the log.
(Inherited from MicaException.)
Public propertyLogger
Gets the logger attached to this exception and that can be used to create entries or find steps.
(Inherited from MicaException.)
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.
(Inherited from MicaException.)
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.

(Inherited from MicaException.)
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 MethodGetMessageFromExceptionCode
Gets the translated message of an exception specifying a Code from PFExceptionCodes.

A contextual PFItem can be included to improve the message with more information.

(Defined by CoreExtensions.)
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