Class Inx_Api_DesignTemplate_ImportException

Description

The Inx_Api_DesignTemplate_ImportException is thrown, when an error occurs while importing an itc file.

The Inx_Api_DesignTemplate_ImportException is thrown, when an error occurs while importing an itc file. There are several types of this exception:

  • NO_ITC_FILE: the provided file is no valid itc file.
  • IMPORT_ERROR: the import failed due to a non specific error.
  • XML_ERROR: the XML data of the itc file is not valid.
  • SYSTEM_ERROR: a major system error occurred.
For further insight on the cause of the error, check the warnings, errors and fatals of this exception, using the corresponding method.

  • version: $Revision: 9497 $Date: 2007-01-25 15:00:09 $ $Author: nds$
  • see: Inx_Api_DesignTemplate_DesignCollectionManager::importDesignCollection($resource, $oListContext)
  • since: API 1.4.0

Located in /Api/DesignTemplate/ImportException.php (line 26)

Exception
   |
   --Inx_Api_DesignTemplate_ImportException
Class Constant Summary
Method Summary
Inx_Api_DesignTemplate_ImportException __construct (string $sMessage, int $iCode, array $aWarnings, array $aErrors, array $aFatals)
array getErrors ()
array getFatals ()
array getWarnings ()
Variables

Inherited Variables

Inherited from Exception (Internal Class)

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

Creates an Inx_Api_DesignTemplate_ImportException with the given type, detail message, warnings, errors and fatals.

Creates an Inx_Api_DesignTemplate_ImportException with the given type, detail message, warnings, errors and fatals.

  • access: public
Inx_Api_DesignTemplate_ImportException __construct (string $sMessage, int $iCode, array $aWarnings, array $aErrors, array $aFatals)
  • int $iCode: the type of the exception. Can be one of the constants defined by this exception.
  • string $sMessage: the detail message of the exception.
  • array $aWarnings: the warning messages (string) of the exception.
  • array $aErrors: the error messages (string) of the exception.
  • array $aFatals: the fatal messages (string) of the exception.

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

Returns the error level messages produced by exceptions during the import.

Returns the error level messages produced by exceptions during the import.

  • return: the error level messages (string).
  • access: public
array getErrors ()
getFatals (line 96)

Returns the fatal level messages produced by exceptions during the import.

Returns the fatal level messages produced by exceptions during the import.

  • return: the fatal level messages (string).
  • access: public
array getFatals ()
getWarnings (line 106)

Returns the warning level messages produced by exceptions during the import.

Returns the warning level messages produced by exceptions during the import.

  • return: the warning level messages (string).
  • access: public
array getWarnings ()

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Class Constants
IMPORT_ERROR = -2 (line 37)

A non specific error occurred during the import.

A non specific error occurred during the import. For further insight on the cause of the error, check the warnings, errors and fatals of this exception.

NO_ITC_FILE = -1 (line 31)

The provided import file is no valid itc file.

The provided import file is no valid itc file.

SYSTEM_ERROR = -5 (line 48)

A major system error occurred during the import.

A major system error occurred during the import. Please check what happened exactly to prevent further failures. Tips for error analysis:

  • Check the warnings, errors and fatals of this exception
  • Check the customer log of your inxmail server (if possible)
  • Check the tomcat log of your inxmail server (if possible)

XML_ERROR = -6 (line 53)

The XML data of the itc file is not valid and cannot be parsed.

The XML data of the itc file is not valid and cannot be parsed.

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