Open topic with navigation
WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
namespace System public class Exception
The Exception class is used for structured exception handling and represents the errors that occur.
Initializes a new instance of the Exception class.
Initializes a new instance of the Exception class with an error message (string) that explains why the error occured.
public Exception(message, inner)
Initializes a new instance of the Exception class with an error message (string) that explains why the error occurred and an inner exception (@Exception) that caused the current exception.
Returns the exception instance that caused the current exception. (@Exception)
public virtual Message
Returns the error message that describes the exception. (string)
public virtual Source
Returns or sets the name of the application that caused the exception. (string)
public virtual StackTrace
Returns a text representation of the call stack at the time the exception was thrown. (string)
public override ToString(), string
Returns the string representation of the current exception. This includes the following components (if they exist), separated by the system line terminator: the name of the Exception class that was thrown, the Message, the result of calling ToString() on the InnerException, and the StackTrace.