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

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
messagejava.lang.StringA 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:

ParameterTypeDescription
messagejava.lang.StringA string that describes the error.
innerExceptionjava.lang.RuntimeExceptionThe 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:

ParameterTypeDescription
messagejava.lang.StringA string that describes the error.
referencejava.lang.StringA circular cell reference.

getReference()

public final String getReference()

Gets a circular cell reference.

Returns: java.lang.String