Class ErrorManager
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Taskbar
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ErrorManager
Constructors
ErrorManager()
Declaration
public ErrorManager()
Properties
Instance
ThrowExceptionOnError
Declaration
public bool ThrowExceptionOnError { get; set; }
Property Value
System.Boolean
|
Methods
ArgumentError(String, String)
Declaration
public virtual void ArgumentError(string message, string paramName)
Parameters
System.String
message
|
System.String
paramName
|
ArgumentNullError(String)
Declaration
public virtual void ArgumentNullError(string paramName)
Parameters
System.String
paramName
|
ArgumentNullError(String, String)
Declaration
public virtual void ArgumentNullError(string paramName, string message)
Parameters
System.String
paramName
|
System.String
message
|
Error(Exception)
Declaration
public virtual void Error(Exception exception)
Parameters
System.Exception
exception
|
ExternalError(Int32)
Declaration
public virtual void ExternalError(int errorCode)
Parameters
System.Int32
errorCode
|
ExternalError(String, Exception)
Declaration
public virtual void ExternalError(string message, Exception inner)
Parameters
System.String
message
|
System.Exception
inner
|
ExternalError(String, Int32)
Declaration
public virtual void ExternalError(string message, int errorCode)
Parameters
System.String
message
|
System.Int32
errorCode
|
FileNotFoundError(String)
Declaration
public virtual void FileNotFoundError(string path)
Parameters
System.String
path
|
NotSupportedWindowsError()
Declaration
public virtual void NotSupportedWindowsError()
OnError(Exception)
Notifies that an exception is about to be thrown. This method allows to handle each exception separately and/or log them. Note that if ThrowExceptionOnError is set to false this method will not be fired.
Declaration
protected virtual bool OnError(Exception ex)
Parameters
System.Exception
ex
The exception. |
Returns
System.Boolean
A value indicating whether to throw the exception. Default value is true. |