C# Class Sage.SageHelpException

Implements an exception that provides help about the error that occurred.
Inheritance: SageException
ファイルを表示 Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
SageHelpException ( ProblemInfo problem ) : System

Initializes a new instance of the SageHelpException class.

SageHelpException ( ProblemInfo problem, Exception actual ) : System

Initializes a new instance of the SageHelpException class.

SageHelpException ( ProblemType problemType ) : System

Initializes a new instance of the SageHelpException class.

Protected Methods

Method Description
ConvertToXml ( Exception instance, XmlDocument ownerDocument, ProblemInfo problemInfo = null ) : XmlElement
GetTransformArguments ( SageContext context ) : object>.Dictionary

Private Methods

Method Description
Create ( Exception ex, string path = null, ProblemType suggestedProblem = ProblemType.Unknown ) : SageHelpException
ParseEntityExceptionError ( Exception e ) : ProblemInfo
SageHelpException ( ) : System

Method Details

ConvertToXml() protected method

protected ConvertToXml ( Exception instance, XmlDocument ownerDocument, ProblemInfo problemInfo = null ) : XmlElement
instance System.Exception
ownerDocument System.Xml.XmlDocument
problemInfo ProblemInfo
return System.Xml.XmlElement

GetTransformArguments() protected method

protected GetTransformArguments ( SageContext context ) : object>.Dictionary
context SageContext
return object>.Dictionary

SageHelpException() public method

Initializes a new instance of the SageHelpException class.
public SageHelpException ( ProblemInfo problem ) : System
problem ProblemInfo An object that describes this error.
return System

SageHelpException() public method

Initializes a new instance of the SageHelpException class.
public SageHelpException ( ProblemInfo problem, Exception actual ) : System
problem ProblemInfo An object that describes this error.
actual System.Exception The actual exception that occurred.
return System

SageHelpException() public method

Initializes a new instance of the SageHelpException class.
public SageHelpException ( ProblemType problemType ) : System
problemType ProblemType The type of problem that occurred.
return System