CellCircularReferenceException

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 CellCircularReferenceException extends PptxEditException

The exception that is thrown when one or more circular references are detected where a formula refers to its own cell either directly or indirectly.

Constructors

Constructor Description
CellCircularReferenceException() Initializes a new instance of the CellCircularReferenceException class.
CellCircularReferenceException(String message) Initializes a new instance of the CellCircularReferenceException class with a specified error message.
CellCircularReferenceException(String message, RuntimeException innerException) Initializes a new instance of the CellCircularReferenceException class with a specified error message and a reference to the inner exception that is the cause of this exception.
CellCircularReferenceException(String message, String reference) Initializes a new instance of the CellCircularReferenceException class with a specified error message and circular cell reference.

Methods

Method Description
getReference() Gets a circular cell reference.

CellCircularReferenceException()

public CellCircularReferenceException()

Initializes a new instance of the CellCircularReferenceException class.

CellCircularReferenceException(String message)

public CellCircularReferenceException(String message)

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

Parameters:

Parameter Type Description
message java.lang.String A string that describes the error.

CellCircularReferenceException(String message, RuntimeException innerException)

public CellCircularReferenceException(String message, RuntimeException innerException)

Initializes a new instance of the CellCircularReferenceException 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.

CellCircularReferenceException(String message, String reference)

public CellCircularReferenceException(String message, String reference)

Initializes a new instance of the CellCircularReferenceException class with a specified error message and circular cell reference.

Parameters:

Parameter Type Description
message java.lang.String A string that describes the error.
reference java.lang.String A circular cell reference.

getReference()

public final String getReference()

Gets a circular cell reference.

Returns: java.lang.String