C# Class Sage.SageHelpException

Implements an exception that provides help about the error that occurred.
Inheritance: SageException
Afficher le fichier Open project: igorfrance/sage Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

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

Private Methods

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

Method Details

ConvertToXml() protected méthode

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

GetTransformArguments() protected méthode

protected GetTransformArguments ( SageContext context ) : object>.Dictionary
context SageContext
Résultat object>.Dictionary

SageHelpException() public méthode

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

SageHelpException() public méthode

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.
Résultat System

SageHelpException() public méthode

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