Skip to main content
Skip table of contents

ERRORCODE_GENERAL

Versionshinweise

22.1, 21.2.06, 21.1.11

Code

GROOVY
PresentationConstants.ERRORCODE_GENERAL

Beschreibung

Ein allgemeiner Fehler ist bei der Verarbeitung von Präsentationsdateien aufgetreten.

Beispiele

GROOVY
IPresentationResult openResult = PresentationUtils.openFile("C:\\Work\\myFirstPresentation.pptx");
 
if (!PresentationUtils.isSuccessful(openResult))
{
    String errorCode = PresentationUtils.getErrorCode(openResult);
     
    if (PresentationConstants.ERRORCODE_FILE_NOTFOUND.equals(errorCode))
    {
      //...handle FILE_NOTFOUND
      ScriptUtils.debug("Error: Given presentation file " + openResult.getFileName() + " could not be found.");
    }
    else if (PresentationConstants.ERRORCODE_NOTSUPPORTED_FILETYPE.equals(errorCode))
    {
      //... handle NOTSUPPORTED_FILETYPE
    }
    else
    {
      //....handle PresentationConstants.ERRORCODE_GENERAL
    }
    /** do furthermore */
    return;
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.