public class CellInvalidFormulaException extends PptxEditException
The exception that is thrown when a calculated formula is not correct or was not parsed.
Constructor and Description |
---|
CellInvalidFormulaException()
Initializes a new instance of the
CellInvalidFormulaException class. |
CellInvalidFormulaException(java.lang.String message)
Initializes a new instance of the
CellInvalidFormulaException class with a specified error message. |
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. |
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. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReference()
Gets a cell reference that contains the invalid formula.
|
public CellInvalidFormulaException()
Initializes a new instance of the CellInvalidFormulaException
class.
public CellInvalidFormulaException(java.lang.String message)
Initializes a new instance of the CellInvalidFormulaException
class with a specified error message.
message
- A string that describes the error.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.
message
- A string that describes the error.innerException
- The exception that is the cause of the current exception.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.
message
- A string that describes the error.reference
- A string that describes a reference to the inner exception