Class PPTXParseErrorException

All Implemented Interfaces:
Serializable

@OpenApiAll public class PPTXParseErrorException extends ParseErrorException
Application-level exception thrown when a template has a syntax or other error which prevents it from being parsed. The exception message will be return in PPTX meaning.
Since:
Jan 7, 2010
See Also:
  • Constructor Details

    • PPTXParseErrorException

      public PPTXParseErrorException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
    • PPTXParseErrorException

      public PPTXParseErrorException(ParseErrorException message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
    • PPTXParseErrorException

      public PPTXParseErrorException(String message, Template template, int lineNumber, int columnNumber, String source)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
      template - template
      lineNumber - line number
      columnNumber - column number
      source - template content until offset of error character.
  • Method Details

    • getMessage

      public String getMessage()
      Return a full message.
      Overrides:
      getMessage in class ParseErrorException
      Returns:
      the full message
    • toString

      public String toString()
      Return string representation of this exception.
      Overrides:
      toString in class ParseErrorException
      Returns:
      a string representation of this exception
    • setOtherFile

      public void setOtherFile(boolean otherFile)
      Set true if file is not on current slide.
      Parameters:
      otherFile - otherFile