C# 클래스 Sage.SageException

Implements an exception that can be converted to XML and through XSLT transformed to HTML.
상속: System.Exception
파일 보기 프로젝트 열기: igorfrance/sage

공개 메소드들

메소드 설명
Render ( TextWriter writer, SageContext context ) : void

Renders the exception to the specified writer

RenderWithoutContext ( TextWriter writer ) : void

Renders the exception to the specified writer

SageException ( ) : System

Initializes a new instance of the SageException class.

SageException ( Exception exception ) : System

Initializes a new instance of the SageException class, using the specified exception

보호된 메소드들

메소드 설명
ConvertToXml ( Exception instance, XmlDocument ownerDocument, ProblemInfo problemInfo = null ) : XmlElement

Saves the current instance as an XmlElement, using the specified ownerDocument to create the element.

GetTransformArguments ( SageContext context ) : object>.Dictionary

Gets the XSLT arguments to use with the transform.

메소드 상세

ConvertToXml() 보호된 메소드

Saves the current instance as an XmlElement, using the specified ownerDocument to create the element.
protected ConvertToXml ( Exception instance, XmlDocument ownerDocument, ProblemInfo problemInfo = null ) : XmlElement
instance System.Exception The exception instance.
ownerDocument System.Xml.XmlDocument The document to use to create the element.
problemInfo ProblemInfo The problem info associated with the exception.
리턴 System.Xml.XmlElement

GetTransformArguments() 보호된 메소드

Gets the XSLT arguments to use with the transform.
protected GetTransformArguments ( SageContext context ) : object>.Dictionary
context SageContext The current context.
리턴 object>.Dictionary

Render() 공개 메소드

Renders the exception to the specified writer
public Render ( TextWriter writer, SageContext context ) : void
writer System.IO.TextWriter The writer to render the exception to.
context SageContext The context under which this code is executing.
리턴 void

RenderWithoutContext() 공개 메소드

Renders the exception to the specified writer
public RenderWithoutContext ( TextWriter writer ) : void
writer System.IO.TextWriter The writer to render the exception to.
리턴 void

SageException() 공개 메소드

Initializes a new instance of the SageException class.
public SageException ( ) : System
리턴 System

SageException() 공개 메소드

Initializes a new instance of the SageException class, using the specified exception
public SageException ( Exception exception ) : System
exception System.Exception The actual exception that was thrown.
리턴 System