C# Class System.Web.HttpException

Inheritance: Exception
Show file Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
FillDefaultCustomErrorValues void
FillDefaultErrorValues void
FillHtmlizedErrorValues void
FormatFullStackTrace string
FormatSource void
FormatSourceFile string
GetObjectData void
GetPageTemplate System.Web.ExceptionPageTemplate
HtmlEncode string
HttpException System.IO
HttpException System.IO
HttpException System.IO
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
SetWebEventCode void
WriteCompilationSource void
WritePageSource void

Public Methods

Method Description
CreateFromLastError ( string message ) : HttpException
GetHtmlErrorMessage ( ) : string
GetHttpCode ( ) : int
HttpException ( ) : System.IO
HttpException ( int httpCode, string message ) : System.IO
HttpException ( int httpCode, string message, Exception innerException ) : System.IO
HttpException ( int httpCode, string message, int hr ) : System.IO
HttpException ( string message ) : System.IO
HttpException ( string message, Exception innerException ) : System.IO
HttpException ( string message, int hr ) : System.IO

Protected Methods

Method Description
HttpException ( SerializationInfo info, StreamingContext context ) : System.IO

Private Methods

Method Description
FillDefaultCustomErrorValues ( System.Web.ExceptionPageTemplateValues values ) : void
FillDefaultErrorValues ( bool showTrace, bool showExceptionType, Exception baseEx, System.Web.ExceptionPageTemplateValues values ) : void
FillHtmlizedErrorValues ( System.Web.ExceptionPageTemplateValues values, System.Web.HtmlizedException exc, ExceptionPageTemplateType &pageType ) : void
FormatFullStackTrace ( ) : string
FormatSource ( StringBuilder builder, StringBuilder longVersion, System.Web.HtmlizedException e ) : void
FormatSourceFile ( string filename ) : string
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetPageTemplate ( ) : System.Web.ExceptionPageTemplate
HtmlEncode ( string s ) : string
HttpException ( int httpCode, string message, Exception innerException, string resourceName ) : System.IO
HttpException ( int httpCode, string message, string resourceName ) : System.IO
HttpException ( int httpCode, string message, string resourceName, string description ) : System.IO
NewWithCode ( int httpCode, string message, Exception innerException, int webEventCode ) : HttpException
NewWithCode ( int httpCode, string message, Exception innerException, string resourceName, int webEventCode ) : HttpException
NewWithCode ( int httpCode, string message, int webEventCode ) : HttpException
NewWithCode ( int httpCode, string message, string resourceName, int webEventCode ) : HttpException
NewWithCode ( string message, Exception innerException, int webEventCode ) : HttpException
NewWithCode ( string message, int webEventCode ) : HttpException
SetWebEventCode ( int webEventCode ) : void
WriteCompilationSource ( StringBuilder builder, StringBuilder longVersion, System.Web.HtmlizedException e ) : void
WritePageSource ( StringBuilder builder, System.Web.HtmlizedException e ) : void

Method Details

CreateFromLastError() public static method

public static CreateFromLastError ( string message ) : HttpException
message string
return HttpException

GetHtmlErrorMessage() public method

public GetHtmlErrorMessage ( ) : string
return string

GetHttpCode() public method

public GetHttpCode ( ) : int
return int

HttpException() public method

public HttpException ( ) : System.IO
return System.IO

HttpException() protected method

protected HttpException ( SerializationInfo info, StreamingContext context ) : System.IO
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System.IO

HttpException() public method

public HttpException ( int httpCode, string message ) : System.IO
httpCode int
message string
return System.IO

HttpException() public method

public HttpException ( int httpCode, string message, Exception innerException ) : System.IO
httpCode int
message string
innerException Exception
return System.IO

HttpException() public method

public HttpException ( int httpCode, string message, int hr ) : System.IO
httpCode int
message string
hr int
return System.IO

HttpException() public method

public HttpException ( string message ) : System.IO
message string
return System.IO

HttpException() public method

public HttpException ( string message, Exception innerException ) : System.IO
message string
innerException Exception
return System.IO

HttpException() public method

public HttpException ( string message, int hr ) : System.IO
message string
hr int
return System.IO