CellInvalidFormulaException
Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.slides.OOXMLException, com.aspose.slides.PptxException, com.aspose.slides.PptxEditException
public class CellInvalidFormulaException extends PptxEditException
The exception that is thrown when a calculated formula is not correct or was not parsed.
Constructors
Constructor | Description |
---|---|
CellInvalidFormulaException() | Initializes a new instance of the CellInvalidFormulaException class. |
CellInvalidFormulaException(String message) | Initializes a new instance of the CellInvalidFormulaException class with a specified error message. |
CellInvalidFormulaException(String message, 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. |
CellInvalidFormulaException(String message, String reference) | Initializes a new instance of the CellInvalidFormulaException class with a specified error message and a cell reference that contains the invalid formula. |
Methods
Method | Description |
---|---|
getReference() | Gets a cell reference that contains the invalid formula. |
CellInvalidFormulaException()
public CellInvalidFormulaException()
Initializes a new instance of the CellInvalidFormulaException class.
CellInvalidFormulaException(String message)
public CellInvalidFormulaException(String message)
Initializes a new instance of the CellInvalidFormulaException class with a specified error message.
Parameters:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | A string that describes the error. |
CellInvalidFormulaException(String message, RuntimeException innerException)
public CellInvalidFormulaException(String message, 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:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | A string that describes the error. |
innerException | java.lang.RuntimeException | The exception that is the cause of the current exception. |
CellInvalidFormulaException(String message, String reference)
public CellInvalidFormulaException(String message, 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:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | A string that describes the error. |
reference | java.lang.String | A string that describes a reference to the inner exception |
getReference()
public final String getReference()
Gets a cell reference that contains the invalid formula.
Returns: java.lang.String