com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class CellInvalidFormulaException

  • All Implemented Interfaces:
    java.io.Serializable


    public class CellInvalidFormulaException
    extends PptxEditException

    The exception that is thrown when a calculated formula is not correct or was not parsed.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getReference()
      Gets a cell reference that contains the invalid formula.
      • Methods inherited from class com.aspose.ms.System.Exception

        getInnerException, getType, toString
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CellInvalidFormulaException

        public CellInvalidFormulaException()

        Initializes a new instance of the CellInvalidFormulaException class.

      • CellInvalidFormulaException

        public CellInvalidFormulaException(java.lang.String message)

        Initializes a new instance of the CellInvalidFormulaException class with a specified error message.

        Parameters:
        message - A string that describes the error.
      • CellInvalidFormulaException

        public CellInvalidFormulaException(java.lang.String message,
                                           java.lang.RuntimeException innerException)

        Initializes a new instance of the CellInvalidFormulaException class with a specified error message and a reference to the inner exception that is the cause of this exception.

        Parameters:
        message - A string that describes the error.
        innerException - The exception that is the cause of the current exception.
      • CellInvalidFormulaException

        public CellInvalidFormulaException(java.lang.String message,
                                           java.lang.String reference)

        Initializes a new instance of the CellInvalidFormulaException class with a specified error message and a cell reference that contains the invalid formula.

        Parameters:
        message - A string that describes the error.
        reference - A string that describes a reference to the inner exception
    • Method Detail

      • getReference

        public final java.lang.String getReference()

        Gets a cell reference that contains the invalid formula.