Class Inx_Api_Rendering_ParseException

Description

An Inx_Api_Rendering_ParseException is thrown when the parsing of a mailing fails. failure usually is a syntax error. Inx_Api_Rendering_RenderErrors associated with the exception.

An Inx_Api_Rendering_ParseException is thrown when the parsing of a mailing fails. The reason for such a failure usually is a syntax error. For a deeper insight on the error, consult the Inx_Api_Rendering_RenderErrors associated with the exception.

  • see: Inx_Api_Rendering_RenderError
  • see: Inx_Api_Rendering_GeneralMailingRenderer::parse($iMailingId, $buildMode, $iSendingId)
  • since: API 1.11.10

Located in /Api/Rendering/ParseException.php (line 17)

Exception
   |
   --Inx_Api_Rendering_ParseException
Direct descendents
Class Description
Inx_Api_Mail_ParseException An Inx_Api_Mail_ParseException is thrown when the parsing of a mailing fails.
Inx_Api_TriggerMail_ParseException A Inx_Api_TriggerMail_ParseException is thrown when the parsing of a trigger mailing fails. such a failure usually is a syntax error. associated with the exception.
Variable Summary
array $errors
Method Summary
Inx_Api_Rendering_ParseException __construct ( $errors)
int getErrorCount ()
Variables
array $errors (line 22)
  • var: Inx_Api_Rendering_RenderError Errors associated with the exception.
  • access: protected

Redefined in descendants as:

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$previous
$string
$trace
Methods
Constructor __construct (line 29)

Creates an Inx_Api_Rendering_ParseException with the given render errors.

Creates an Inx_Api_Rendering_ParseException with the given render errors.

  • access: public
Inx_Api_Rendering_ParseException __construct ( $errors)
  • array() $errors: of Inx_Api_Rendering_RenderError errors the render errors which occurred during the parsing.

Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] )

Redefined in descendants as:
getError (line 41)

Returns the error with the given index.

Returns the error with the given index.

  • return: the render error with the given index.
  • access: public
Inx_Api_Rendering_RenderError getError (int $iIndex)
  • int $iIndex: the index of the render error to be returned.

Redefined in descendants as:
getErrorCount (line 51)

Returns the number of render errors associated with this Inx_Api_Rendering_ParseException.

Returns the number of render errors associated with this Inx_Api_Rendering_ParseException.

  • return: the number of render errors.
  • access: public
int getErrorCount ()

Redefined in descendants as:

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )

Documentation generated on Thu, 17 Sep 2015 14:27:27 +0200 by phpDocumentor 1.3.2