Namespace: Consultingwerk.Framework.Http
Class 
HttpException Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Exceptions.Exception
Implements: Consultingwerk.Exceptions.ISupportsInnerException, Consultingwerk.Exceptions.ISupportsOriginalStackTrace, Consultingwerk.Exceptions.IProvidesSessionInfo
Inherited by: Consultingwerk.Framework.Http.HttpClientException Consultingwerk.Framework.Http.Http400Exception Consultingwerk.Framework.Http.Http401Exception Consultingwerk.Framework.Http.Http402Exception Consultingwerk.Framework.Http.Http403Exception Consultingwerk.Framework.Http.Http404Exception Consultingwerk.Framework.Http.Http405Exception Consultingwerk.Framework.Http.Http406Exception Consultingwerk.Framework.Http.Http407Exception Consultingwerk.Framework.Http.Http408Exception Consultingwerk.Framework.Http.Http409Exception Consultingwerk.Framework.Http.Http410Exception Consultingwerk.Framework.Http.Http411Exception Consultingwerk.Framework.Http.Http412Exception Consultingwerk.Framework.Http.Http413Exception Consultingwerk.Framework.Http.Http414Exception Consultingwerk.Framework.Http.Http415Exception Consultingwerk.Framework.Http.Http416Exception Consultingwerk.Framework.Http.Http417Exception Consultingwerk.Framework.Http.Http418Exception Consultingwerk.Framework.Http.Http421Exception Consultingwerk.Framework.Http.Http422Exception Consultingwerk.Framework.Http.Http423Exception Consultingwerk.Framework.Http.Http424Exception Consultingwerk.Framework.Http.Http426Exception Consultingwerk.Framework.Http.Http428Exception Consultingwerk.Framework.Http.Http429Exception Consultingwerk.Framework.Http.Http431Exception Consultingwerk.Framework.Http.Http451Exception Consultingwerk.Framework.Http.HttpServerException Consultingwerk.Framework.Http.Http500Exception Consultingwerk.Framework.Http.Http501Exception Consultingwerk.Framework.Http.Http502Exception Consultingwerk.Framework.Http.Http503Exception Consultingwerk.Framework.Http.Http504Exception Consultingwerk.Framework.Http.Http505Exception Consultingwerk.Framework.Http.Http506Exception Consultingwerk.Framework.Http.Http507Exception Consultingwerk.Framework.Http.Http508Exception Consultingwerk.Framework.Http.Http510Exception Consultingwerk.Framework.Http.Http511Exception
SERIALIZABLE

File:HttpException
Purpose:Basic HTTP Exception class
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:11.05.2019 02:27:49
Purpose: Returns the HTTP Request associated with this exception
Notes:



Top Method Summary
Options Name Purpose
+ AddMessagesFrom (Error) Adds error messages from another error to this Exception instance
Inherited from Consultingwerk.Exceptions.Exception
+ Consultingwerk.Exceptions.Exception AssignFromError (Error) Adds the messages and the orignal stack trace of the provided
Inherited from Consultingwerk.Exceptions.Exception
+ Consultingwerk.Exceptions.Exception FromErrorMessageAndError (character, integer, Error) Creates an Exception using the given error message and number and Existing Error
Inherited from Consultingwerk.Exceptions.Exception

Top Constructor Summary
Options Name Purpose
+ HttpException (IHttpRequest, IHttpResponse) Constructor of the HttpException class
+ HttpException (IHttpResponse) Constructor of the HttpException class

Top Property Summary
Options Name Purpose
+ Progress.Lang.Error InnerException
Inherited from Consultingwerk.Exceptions.Exception
+ CHARACTER OriginalStackTrace
Inherited from Consultingwerk.Exceptions.Exception
+ OpenEdge.Net.HTTP.IHttpRequest Request
+ OpenEdge.Net.HTTP.IHttpResponse Response
+ Consultingwerk.SessionInfo SessionInfo
Inherited from Consultingwerk.Exceptions.Exception


Method Detail
Top

PUBLIC AddMessagesFrom (Error)

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Adds error messages from another error to this Exception instance
Notes:

Parameters:
poError Progress.Lang.Error
The error instance to add errors from
Top

PUBLIC Consultingwerk.Exceptions.Exception AssignFromError (Error)

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Adds the messages and the orignal stack trace of the provided
Notes:

Parameters:
poError Progress.Lang.Error
The original error
Returns Consultingwerk.Exceptions.Exception
The reference to the error (to be used in a throw statement
Top

PUBLIC Consultingwerk.Exceptions.Exception FromErrorMessageAndError (character, integer, Error)

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Creates an Exception using the given error message and number and
Existing Error
Notes: The messages from the existing error will be added to the new error
are well, useful for adding messages to ABL runtime errors

Parameters:
pcErrorString CHARACTER
The error message associated with this Exception object
piMessageNumber INTEGER
The error message number associated with this Exception object
poError Progress.Lang.Error
The reference to the original error
Returns Consultingwerk.Exceptions.Exception
The reference to the new Exception


Constructor Detail
Top

PUBLIC HttpException (IHttpRequest, IHttpResponse)

Purpose: Constructor of the HttpException class
Notes:

Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
The HTTP Request associated with this exception
poResponse OpenEdge.Net.HTTP.IHttpResponse
The HTTP Response associated with this exception
Top

PUBLIC HttpException (IHttpResponse)

Purpose: Constructor of the HttpException class
Notes:

Parameters:
poResponse OpenEdge.Net.HTTP.IHttpResponse
The HTTP Response associated with this exception


Property Detail
Top

PUBLIC Progress.Lang.Error InnerException

Inherited from Consultingwerk.Exceptions.Exception

Returns Progress.Lang.Error
Top

PUBLIC CHARACTER OriginalStackTrace

Inherited from Consultingwerk.Exceptions.Exception

Returns CHARACTER
Top

PUBLIC OpenEdge.Net.HTTP.IHttpRequest Request


Returns OpenEdge.Net.HTTP.IHttpRequest
Top

PUBLIC OpenEdge.Net.HTTP.IHttpResponse Response


Returns OpenEdge.Net.HTTP.IHttpResponse
Top

PUBLIC Consultingwerk.SessionInfo SessionInfo

Inherited from Consultingwerk.Exceptions.Exception

Returns Consultingwerk.SessionInfo


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:51:36