This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
[]
public class SmartsiteException
Visual Basic (Declaration) Copy imageCopy Code
<> _
Public Class SmartsiteException

The type exposes the following members.

Public Constructors

  Name Description
Public method SmartsiteException Overloaded.

Protected Constructors

  Name Description
Protected method SmartsiteException Overloaded.

Public Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method FormatFriendlyMessage Overloaded.
Public method FormatMessage Overloaded.
Public method GetBaseException (Inherited from Exception.)
Public method Static member GetErrorNumber
Gets the Smartsite error number from the exception.
Public method Static member GetExceptionMessage
Gets the message of specified exception.
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Overrides Exception..::GetObjectData(SerializationInfo, StreamingContext).)
Public method Static member GetStatus
Searches through the exception stack to find the status code and status message that should be sent to the output.
Public method GetType (Inherited from Exception.)
Public method Static member ReThrow
Rethrows an exception, wrapping the given exception, with a new exception message.
Public method SetFriendlyMessage
Sets the friendly error message shown for exception with the message type FriendlyMessage.
Public method ToString Overloaded.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Fields

  Name Description
Public field Static member ErrorPrefix
Contains the prefix for all errors

Protected Fields

  Name Description
Protected field unformattedFriendlyMessage
Contains the unformatted message of this exception.
Protected field unformattedMessage
Contains the unformatted message of this exception.

Public Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode
Returns the error code for this error number.
Public property ErrorNumber
Gets or sets the error number that belongs to this exception.
Public property FriendlyMessage
Gets the friendly message that should be sent to the output.
Public property HelpLink (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property MessageArguments
Gets or sets the arguments that belong to the message of this exception.
Public property MessageType
Gets or sets what type of message report is shown for this exception.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property Status
Gets the status that should be sent to the output.
Public property StatusCode
Gets or sets the status code that should be sent to the output.
Public property StatusMessage
Gets or sets the status message that should be sent to the output.
Public property TargetSite (Inherited from Exception.)

Protected Properties

  Name Description
Protected property HResult (Inherited from Exception.)

See Also

Advanced